[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] HERE's why the world needs a simpler XML! [was Re: The XML decl is not a
----- Original Message ----- From: David Megginson <david@m...> To: <xml-dev@i...> Sent: Sunday, November 14, 1999 7:28 AM Subject: The XML decl is not a PI (especially in SAX) > Here are the productions for a processing instruction in XML 1.0: > > [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' > [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l')) > > The XML and text declarations cannot match this production -- the only > reason that the syntax is similar is so that XML could work with > legacy SGML tools. [snip] > That book is also wrong -- please inform the author. > Sigh. I'm sure David Megginson is right ... but doesn't this illustrate a big point that Don Park has been making? We've got this thing that looks like a PI to the casual observer, and even people who've looked at the subject deeply enough to write a book about XML have gotten confused! I suspect that either the "XML community" will work together on a simplification of XML that makes it more accessible to the kinds of people who've been writing HTML in Notepad for the last few years ... or somebody else will ... or worse yet, a kindof "de facto lowest common denominator" flavor of XML will get loosely defined by various vendors who don't want to impose this kind of stuff on their customers. [duck ;~) ] Mike Champion xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|