Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Problem: Base URI for XInclude

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Fred Vos <fred AT fredvos.org>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Problem: Base URI for XInclude
  • Date: Mon, 7 Mar 2011 22:51:50 +0100

On Mon, Mar 07, 2011 at 01:19:28PM -0500, Elliotte Rusty Harold wrote:
> On Mon, Mar 7, 2011 at 11:48 AM, Peter Murray-Rust <pm286 AT cam.ac.uk> wrote:
>
> > BTW the processed XML (i.e. after the XInclude processing or building)
> > appears to have additional xml:base attribute(s) - I assume that is (a)
> > normal and (b) necessary or at least harmless.
> >
>
> It is normal and required by the XInclude spec, as far as I recall.

Yes, it's required, but those attributes can cause validation errors
in the resulting document. In one case I had to remove these after
processing the XIncludes, to make a resulting document validate against
an XSD schema.

Fred

--
|E R Fred Vos <fred AT fredvos.org>
| D F
|
|5235 DG 52 NL T: +31 (0)73 6411833





Archive powered by MHonArc 2.6.24.

Top of Page