[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Announcing a Preview of XString, an XML technology - XML a
At 03:54 AM 2006-10-07 -0500, William Gilreath wrote: >The five major points about XString: > >XString is XML just encoded differently. Thank you for another attempt at refining XML. I'm always curious to see how others find another aspect to refine XML in different aspects. I don't know if I may be "picking bones" from the words, but I'm not sure this particular line (above) could be said without qualification. It would read like XML is an abstract definition, with the actual rendition and encoding being arbitrarily decided by possibly one or more other specifications, so that XString could be "XML just encoded differently". Well, that's not really it since we can't run away from all the uses of "<", ">" and the many reserved tokens and combinations; the XML spec requires these to be used in order to call a data instance XML. Second, it would also be, I believe, a necessary condition that XString is either a one-to-one mapping of all XML aspects, or at least a superset, before "XString is XML" could be said. In your example (below), had the parsing of the XML original be within a mixed element and text environment, then the newlines that were lost in translation to XString would make the XString rendition incompatible with the original XML instance. Any thoughts? cheers. >Quick-and-dirty example of XML and XString: > ><?xml version="1.0" encoding="ISO-8859-1"?> ><duh:ROOT ATTRIBUTE="VALUE" >xmlns:duh="<http://www.w3.org/noduh>http://www.w3.org/noduh"> > <duh:CHILD>text</duh:CHILD> > <duh:EMPTY EMPTY_ATTRIBUTE/> > <!--comment--> > <?processing instruction?> > <![CDATA[function nop(){}]]> > <duh:NIL></duh:NIL> ></duh:ROOT> > >XString = /duh:ROOT+7@ATTRIBUTE=VALUE@xmlns:duh= >http://www.w3.org/noduh/duh:CHILD+1'text/duh:EMPTY+0@EMPTY_ATTRIBUTE-comment?processing >instruction[function nop(){}/duh:NIL+0 > > >Cheers! My best, > >Will Gilreath ><mailto:wgilreath@g...>wgilreath@g... ><mailto:will@w...>will@w...
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|