OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: layers of options in XML processing

[ Lists Home | Date Index | Thread Index ]
  • From: John Evdemon <john.evdemon@xmls.com>
  • To: "'simonstl@simonstl.com'" <simonstl@simonstl.com>,"'xml-dev@xml.org'" <xml-dev@xml.org>
  • Date: Sat, 30 Dec 2000 12:09:51 -0500

Simon,

The XML Infoset was recently (12/20) published as a WD.  Some of your ideas
sound a bit similar.  I'd be interested to hear your opinions on it.


--------------------------
Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net)


-----Original Message-----
From: Simon St.Laurent <simonstl@simonstl.com>
To: XML-Dev Mailing list <xml-dev@xml.org>
Sent: Sat Dec 30 11:49:59 2000
Subject: layers of options in XML processing

This is just a loose exploration of the different factors which can
currently affect the information presented by a conformant 'XML' parser to
an application.  These different kinds of processing which appear to be
legal according to various W3C specs, not all of which are complete.  I'm
hoping to express this somewhat more formally in the new year, but thought
I'd throw it into the world and see what people think of the stack now.

I. XML 1.0

1) Validating parser - will retrieve external DTD, default attributes
(including xmlns), resolve entities

2) Non-validating parser - may or may not retrieve external DTD, default
attributes, resolve entities

II.  Namespace processing (optional)

1) Expansion of Qualified Names

2) Possible removal of xmlns attributes, discarding of prefixes (this
approach seems to be on the decline, but seemed canonical at one point.)

III. XML Schema processing (optional)

1) Retrieval of schema based on xsi:schemaLocation.  Defaulting of
attribute values.

2) Retrieval of schema based on namespace URI/content negotiation approach.
Defaulting of attribute values.

IV. XML Base (optional)

1) Included in the XML Infoset, but as a separate property which
effectively modifies the values of relative URIs and relative URI
references encountered in a document.

V. XML Inclusions (XInclude) (optional)

1) Requires namespace processing to operate

2) Retrieval of content from URIs which may or may not include XPointer
fragment references.  (XPointer support is NOT listed in 5.2, application
conformance, but is shown in examples.)

3) May happen either before or after XML Schema processing - 1.4

I'm not exactly sure how many different infosets you can get from a single
document in various perverse situations, but the number of possibilities,
even for non-perverse situations is growing.  The Infoset appears to be
attempting to integrate these various creations, effectively building
toward XML 2.0, but there are some pretty simple and legal things (like
using an external DTD to default an xmlns attribute or several) which can
affect multiple levels here.

Interesting universe.

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
XHTML: Migrating Toward XML
http://www.simonstl.com - XML essays and books




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS