|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: UTF-8+names
At 7:05 AM -0400 10/22/03, John Cowan wrote: >XML 1.1 is almost certainly going to ban line breaks in the XML and text >declarations altogether. They don't buy anyone anything. It might affect people who are wrapping to a specific line length, especially if they have a longish encoding name. I can see that this might have been a good idea in XML 1.0. It would have made writing a parser simpler. In particular, you could have just detected the encoding, and then scanned for the first line break before parsing the XML declaration. However, I don't see the benefit of doing it in 1.1 since parsers already have the code to handle line broken XML declarations. Making an additional distinction between 1.0 and 1.1 will just make parsers a little harder to write since they'll need to special case this depending on version. I suspect parsers will use the more complicated XML 1.0 algorithm for finding the end of the XML declaration, and then just report an error if they see a line break when version="1.1". The horse has left the barn on this one. In either case, I assume you're planning to go back to last call then? I don't see anything about this in the candidate recommendation. -- Elliotte Rusty Harold elharo@m... Processing XML with Java (Addison-Wesley, 2002) http://www.cafeconleche.org/books/xmljava http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
|
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








