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

Re: XInclude vs SAX vs validation

  • From: Daniel Veillard <veillard@r...>
  • To: David Brownell <david-b@p...>
  • Date: Wed, 22 Aug 2001 07:02:13 -0400

libxml sax xinclude
On Tue, Aug 21, 2001 at 09:03:00PM -0700, David Brownell wrote:
> >      - id[/2/3] : highly unreliable because it requires a DTD + a parser
> >                   in validating mode (and DTD may not be available)
> The "id" access does NOT require a parser in validating mode!
> It only requires reporting the [attribute type] information item.
> Admittedly that's only defined for documents with a DTD that
> has appropriate ATTLIST declarations, but it's common for
> non-validating parsers to expose that information.  After all, they
> parsed those attribute decls so they could normalize and default.

  It also mean that you need to fetch/parse that DTDs, and in general
this is not in the internal subset. Catalogs helps avoiding the serious
problem of relying on a possibly remote document, but this construct
is still very fragile in practice.
  Admitedly, the XPath language requires this too :-( , but at least you
can can still point into a sub resource relibaly even if its DTD is not
  At the end of the day, people don't want to take the risk, just convert
stuff to HTML because they know that that platform has the reliability
level needed (in term of deployment and level of interfaces), and that's
one more case where XML won't be used natively.
  That's actually the lesson I get, people in general are not interested
to move from HTML hypertext to XML hypertext, because they don't want to
face a platform change, they didn't switched to XHTML either even if all
concession were made to allow this at minimal cost. On the other hand
XSLT with can work without large deployment changes is now widely deployed.
  Time to work on something else and come back in a few years to see if
the situation evolved ... and if people manage to agree on what should be
standardized for hypertext if there is a need for a new platform.


Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@r...  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


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.
First Name
Last Name
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.