W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2014

Re: xinclude 1.1 in Calabash

From: David Cramer <david@thingbag.net>
Date: Fri, 03 Jan 2014 16:03:47 -0600
Message-ID: <52C733C3.3080107@thingbag.net>
To: XProc Dev <xproc-dev@w3.org>
Ok, returning to this and testing with Calabash 1.0.16 and the xinclude
1.1 test suite: http://www.w3.org/XML/2013/10/xinclude-11-test-suite/

When I use the following simple pipeline:

<p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
  <p:xinclude fixup-xml-base="true" name="xincluding"/>
</p:pipeline>

And process the Attribute copying 1, I get the following result which
does not copy eg:root="one" and eg:root="two" into the result document
(see example output below).

I assume there's some switch I need to throw to get Calabash to use
xinclude 1.1 but have no idea what it is. Can anybody help me? I'd
really like to take advantage of this feature to avoid repeated ids when
content is xincluded more than once into the same doc.

Regards,
David

dcramer@anatine ~/Desktop/xinclude-11-test
$ calabash -i
source=http://www.w3.org/XML/2013/10/xinclude-11-test-suite/spec/attcopy-1.xml
test.xpl
<document xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:eg="http://example.org/namespace/example">
<p>This example includes a “definition” paragraph from some document
twice using attribute copying.</p>

<para xml:id="def"
xml:base="http://www.w3.org/XML/2013/10/xinclude-11-test-suite/spec/src.xml">Some
definition.</para>

<para xml:id="def"
xml:base="http://www.w3.org/XML/2013/10/xinclude-11-test-suite/spec/src.xml">Some
definition.</para>

</document>

On 12/16/2013 04:35 PM, David Cramer wrote:
> Using Calabash 1.0.13, when I add a namespace qualified attribute to the
> xi:include element, I'm not seeing it copied into the top-level
> xincluded element. Is there something else to do to enable this
> functionality?
> 
> Thanks,
> David
> 
Received on Friday, 3 January 2014 22:05:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC