[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    Specification Questions
From:       "Neil Bradley" <neil () bradley ! co ! uk>
Date:       1997-07-30 19:43:52
Message-ID: 199707310643.HAA12180 () andromeda ! ndirect ! co ! uk
[Download RAW message or body]


While studying the June 30 version of the XML standard, I noted 
a small number of possible discrepancies and gaps.

The symbols [6]Names and [8]Nmtokens do not appear to be used in any
other rule. Are they redundant?

The symbol [40]elementdecl consists of the following expression:

   '<!ELEMENT' S %Name S (%S S)? %contentspec S? '>'

What is the purpose of the '(%S S)?' part of this rule? 

The second line of the rule for [50]Mixed is:

   |  '(' S? %( '#PCDATA' ) S? ')'

I cannot understand the purpose of the inner brackets in this part of
the rule.

There is also little written about interpretation of line-ending
codes. Although the standard states that white space and line-ending
codes are ignored in element content, nothing is said regarding the
age old problem of line-ending codes in mixed content. For example, in
SGML we know that an initial and final record end is ignored, so:

<P>
Here is a paragraph.
</P>

is considered the same as:

<P>Here is a paragraph.</P>

Could we have some clarifications on this point?

Thanks.

Neil.

-----------------------------------------------
Neil Bradley - Author of The Concise SGML Companion.
neil@bradley.co.uk
www.bradley.co.uk

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic