|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Unclear Part of XML 1.1 Specification
Hi, Thanks for the explanation of charData. The document production has a '-' though: document ::= prolog element Misc* - Char* RestrictedChar Char* From your explanation, though, I believe this means (please let me know if I'm wrong) "any string of the concatenation of prolog, element, and misc*, except those strings with a restrictedChar in them". Thanks Bob, Dan ----- Original Message ----- From: "Bob Foster" <bob@o...> To: "Daniel Zingaro" <daniel_zingaro@c...> Cc: <xml-dev@l...> Sent: Tuesday, October 19, 2004 3:09 PM Subject: Re: Unclear Part of XML 1.1 Specification > Daniel Zingaro wrote: > > Hi all, > > From section 6 of the XML spec, I have learned that: > > * binds tighter than | > > + binds tighter than | > > but there is no mention of the precedence of the '-' (set difference) > > operator. At least for me, this makes reading the spec pretty tricky > > (since I don't > > know much XML yet). Could someone explain where '-' fits in, perhaps by > > using the document ::= production, using () to clearly show how '-' > works? > > In the uses of - precedence doesn't matter. The - doesn't occur in the > document production. Since you know what set difference is, consider the > production > > [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) > > CharData describes the set of all strings that contain any sequence of > zero or more characters that do not include the '<' or '&' characters, > excluding the set of such strings that contain the substring ']]>'. IOW, > CharData ends before the next occurrence of '<' or '&' and cannot contain > ']]>'. > > Bob Foster > http://xmlbuddy.com > > > Thanks!! > > Dan > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








