[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

  • From: Melvin Chin <mc@S...>
  • To: xml-dev@l...
  • Date: Sun, 08 Oct 2006 16:32:17 +0800

xstring
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.