[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Character Entities: An XML Core WG View


standard entities
11/3/2002 12:26:57 AM, "Rick Jelliffe" <ricko@a...> wrote:


>Why should a user have to distinguish between "what elements can I use?"
>and "what standard entities can I use?".

In my worldview  -- which admittedly is not XML 1.x's  -- elements
are first class "objects" in "XML" (along with attributes and text, and
not much else).  Every thing is is just syntax -- entities, CDATA
sections, comments [not sure about PIs ..], namespace declarations and
prefixes [just a funny syntax for creating unique names].  XML 1.x is
merely a widely adopted and semi-standardized syntax for serializing
these labeled, attributed tree thingies.  I think lots of other syntaxes that
are more compressed/encrypted, or more user-friendly, or legacy/proprietary,
or more theoretically understood (LISP comes to mind) will also be
widely used to exchange these data model thingies across systems and applications
and time.

Thus, I think of "what elements can I use" as a question about
first class objects in the data model , and "what standard entities
can I use" as a question about the syntax of one particular serialization
technique.  If we are talking only about users of XML 1.x syntax, I guess
one could rationally argue that there's no reason to distinguish questions
about element markup from entity markup, but it seems to make pragmatic sense
to distinguish concepts that are universally understood from those that are
not used by many XML specs (e.g., the W3C Infoset, in the case of character
entities).

I realize that many/most of you disagree with this worldview, but I
think that it's fairly common, e.g. in the SOAP and XPath/XSLT/
XQuery worlds. I suggest that people who accept the contrary
"the only foundation is the XML 1.x syntax" worldview should be somewhat
careful not to assume that concepts that have no representation in the 
W3C infoset (much less my hyper-minimalist data model!) are universally
understood.



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.