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

Re: XInclude vs SAX vs validation

  • From: David Brownell <david-b@p...>
  • To: David Orchard <orchard@p...>, xml-dev@l...
  • Date: Tue, 21 Aug 2001 17:26:14 -0700

Re: XInclude vs SAX vs validation
> > XInclude could become "low level" by dropping the dependency
> > on XPointer.  The Infoset dependency is no problem (to me :),
> > but the XPointer dependency changes things substantially; it's
> > relying on a lot more than XML 1.0 plus infoset.
> 
> Gotcha.  You mean "low level" in the sense that the burden of 
> implementation is lower.  I was thinking you meant low level as in working 
> "lower" in the stack, ie not on infosets.

Infoset is low level; XPointer isn't.  I was most certainly
talking about low level as in "low on any layer cake picture".

XPointer is stacked on top of at least XPath and some data
structure machinery that would otherwise not be needed.
To repeat, Infoset is not the issue, unless there's some kind
of expectation about how it's represented (say, that it's set
up for random access).


> FWIW, there's been some debate about the utility of XInclude refering to 
> XPointer'd thingies.  I personally think it's a reasonable compromise 
> between providing file modularity (what you are proposing) and a complete 
> entity replacement (what others have advocated).

Eh?  External entities _are_ at the file level.  There's no need to
compromise between those two things, they're the same notion.
Using XPointer is going off towards XLink.


> But I do understand your point about the amount of machinery being higher 
> to support these use cases.  I would argue that if most xml parsers support 
> xpointer, 

Big "IF"; none do, AFAIK.  Even the DOM Level 3 proposals for
optional (!!) XPath modules stop short of XPointer support; not
that a DOM XPointer module would count as "low level" to me
(being able to count way too many layers between the XML and
the top of that particular stack :).

- Dave



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.