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

context (was Re: ANN: SAX Filters for Namespace Processing)

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: xml-dev@l...
  • Date: Wed, 01 Aug 2001 09:19:44 -0400

sax context
On 01 Aug 2001 11:27:12 +0100, Sean McGrath wrote:
> I remember the early days of namespace rec. development when people
> where talking about namespaces having no effect on parsers, no effect
> on apis etc. I find it very depressing to look at the
> increase in complexity of fundamental subsystems such as
> SAX/DOM/XPATH/Query etc.etc. because of namespaces.

I agree completely, as I agree with most of Sean's message.

> Context is always a difficult problem. Namespaces writes
> the context problem in stone and makes it an
> "in your face" aspect of pretty much everything you
> might want to do with XML documents.

One thing that's interesting to me here is the contrast between the use
of context in these XML Namespace/W3C XML Schema models and RELAX/RELAX
NG. 

RELAX and RELAX NG provides some very cool context-sensitive document
modeling tools which let you say things like "paragraphs inside of lists
have a different content model than paragraphs in the main body of the
document."  (I believe that TREX, Schematron, and Examplotron are
similarly capable, and have no problems with things like substitution
groups muddying context.)

That understanding at validation doesn't make any claims about the scope
of meaning in the document, however.  You don't need to do RELAX
processing to figure out what the components in the document mean.  It's
a far cleaner separation of validation processing from
semantics-by-implication.

I have to admit that I'm hoping the current situation with regard to XML
Namespaces and W3C XML Schemas is a giant practical joke, but I see no
signs of pranksters coming forward with a gleeful smile to announce that
they were just kidding.



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.