xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter McCracken <pete...@ca.ibm.com>
Subject Re: Xalan-J, Xerces-J XInclude question
Date Tue, 14 Feb 2006 15:23:07 GMT
"Paulus Oliver" <oliver.paulus@siemens.com> wrote on 02/14/2006 10:11:35 

> Is there a possibility to omit Xerces-J to include xml:base attributes
> if Xinclude is used?

Hi Oliver,

Adding xml:base attributes is required by the XInclude specification [1] 
in some situations, which is why they're there.

However, your problem is a common one.  Xerces has a feature
"http://apache.org/xml/features/xinclude/fixup-base-uris" (see [2])
which will omit the xml:base attributes when set to false.

[1] http://www.w3.org/TR/xinclude/#base

Hope that helps.

Peter McCracken
XML Parser Development
IBM Toronto Lab
Email: peterjm@ca.ibm.com

To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message