> I'm not necessarily saying you're wrong, but show me one > example where the white space between tags of an xml document > would be as significant as any brother node and would need to > be used by an application. I mean, XML presents data in the > form of nested tags which contain appropriately escaped data > in their attributes and optionally in the contents of each tag. > > Given the following examples: > > <root><book title="test"><author name="bob" /></book></root> > > <root> > <book title="test"> > <author name="bob" /> > </book> > </root> > > Have I changed the actual data being transferred one iota?
Yes. The second example has two text nodes within root, and two text nodes within book. > By your own omission, if Mozilla is properly parsing XML, > then ColdFusion's xml parser itself does not properly handle > XML. So? > Give me a SINGLE example of an application which should act > differently based on the second xml string as opposed to the > first. Maybe that example exists, and I am more than willing > to accept it, but I haven't seen it yet. I gave you an example: haikus and other poems. If you were to write an application that displays those, it would have to treat whitespace as meaningful. > As far as a haiku, your statement is true, but I don't > believe there is any corollary from that which can be applied > to XML. You have simply provided an example of a string of > text which includes line breaks as significant data. That > example does prove or disprove the significance of white > space in another type of string. How does an XML parser know whether whitespace is significant or not? It can't; that's the job of the interpreting application. XML is a delivery mechanism for all sorts of data, not just your data. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281295 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

