[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: Elliotte Rusty Harold <elharo@m...>, xml-dev@l...
  • Date: Tue, 21 Aug 2001 10:43:51 -0700

xinclude validation
> The only API that really works well for XInclude is DOM, because the
> Infoset is in many ways designed around DOM and XInclude is designed
> around the Infoset. 

Actually, SAX2 has ** MUCH ** better infoset support than DOM does.
Yes, I've done the detailed analysis.

If I were to say XInclude is DOM-oriented, it'd be because of that
curious dependency on XPointer.  A C #include doesn't need access
to partial documents; neither should an XML one!  XInclude seems
more like a kind of link processor than a lowlevel #inclusion tool;
it's not moved very far from its XLink roots.


> However, I'm not sure if you can easily convince the validator to wait 
> until you've resolved an include element before checking it. It may have
> already tried to validate just the one element before you get it. 

Depends on the application.  If the app's validity requirement is that
an XInclude element be found at some point, pre-XInclude validation
will be the answer.  If the validity requirements are supposed to be
applied post-XInclude, it's a different story.  I can create workflow
scenarios where either applies.

- 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.