This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21127 - [XPROCTS] Test p:xinclude #002
Summary: [XPROCTS] Test p:xinclude #002
Status: NEW
Alias: None
Product: XML Processing Model
Classification: Unclassified
Component: Pipeline language (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Norman Walsh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 15:49 UTC by Tim Mills
Modified: 2013-02-26 15:49 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2013-02-26 15:49:56 UTC
Unless I'm mistaken, there is an error in this test.

The input document has base URI 

{some root}/input-xinclude-recursive-1.xml

This includes

{some root}/xinclude/input-xinclude-recursive-2.xml

which includes

{some root}/xinclude/para.xml

So the base URI of the root of this document is 

{some root}/input-xinclude-recursive-1.xml

and the included paragraph, after Base URI fixup is

{some root}/xinclude/para.xml

Using a relative URI gives xml:base="xinclude/para.xml".

The test expects:

contains(@xml:base, 'doc/xinclude/para.xml')

to be true.  I believe it should read:

contains(@xml:base, 'xinclude/para.xml')