Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Level XInclude support in parsers?

From: Chris Burdess <dog@-------.--->
To: Pete Cordell <petexmldev@--------------.--->
Date: 4/26/2007 12:40:00 PM
Pete Cordell wrote:
> Seeing the recent post on XInclude...
>
> What is the level of support of XInclude in XML processors?
>
> I don't see it as required by the baseline XML spec, but does  
> current circumstances mean that you would de-facto expect an XML  
> parser to support it?
>
> What is the support like in common tools such as Xerces, .NET, Java  
> and libxml2 etc?

In Java at least, XInclude support has been in part of the parser  
layer since JAXP 1.3 (SAXParserFactory and DocumentBuilderFactory  
setXIncludeAware methods). There is no explicit support for  
specifying XInclude processing in the Java StAX API, although it's  
relatively straightforward to layer XInclude processing on top of a  
stream reader using a StreamDelegate.

There is certainly support for XInclude in libxml2, I often use  
xsltproc --xinclude


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent