|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Whitespace
At 1:07 PM -0500 8/25/97, Sean Mc Grath wrote: >[Liam Quin] >>If this happens, it wlil be time to standardise whitespace handling at the >>applicaton level, perhaps. Right now, I fnd this argument totally bogus. > >What are you saying? Lets wait and see if the horse bolts - if he >does we will lock the barn door? This is a lovely example of how quoting out of context can replace giving a counter-argument. Here's the _substantive_ part of Liam's note: >Whitespace treatment needs to be specified in the CML specification, >for example, and then any conforming CML processor will do the right >thing and there's no problem. Taking CML and passing it to a CDF processor >will result in different whitespace treatment, I expect... and also different >treatment of all the non-whitespace too! And that's fine. The point is (and I also made this at length before) there are few ways to meaningfully process markup without knowing the DTD or having a stylesheet, there are even fewer ways to process such markup (w/out stylsheet or knowledge of the DTD) such that ignoring whitespace is something that you _need_ to do. XML already provides you with _all_ the whitespace (unlike original flavor SGML) -- so there's no problem with the parser hiding significant whitespace. The only question is whether we should be addding features to note that some whitespace is _insignficant_. In fact I believe that small set of ways to process markup (that you don't know the meaning of, without a processing spec), and where you _have to_ collapse or otherwise mangle the whitespace is the _null set_. As I asked before, I'd like to see even one example of of an application that needs this. -- David _________________________________________ David Durand dgd@c... \ david@d... Boston University Computer Science \ Sr. Analyst http://www.cs.bu.edu/students/grads/dgd/ \ Dynamic Diagrams --------------------------------------------\ http://dynamicDiagrams.com/ MAPA: mapping for the WWW \__________________________ xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (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
|
|||||||||

Cart








