[Versa] Updated test cases and spec

Jeremy Kloth jeremy.kloth at fourthought.com
Wed Oct 5 12:32:43 MDT 2005


On Wednesday 05 October 2005 12:15 pm, Michael Olson wrote:
> I'd like to get away from cpp, but xinclude does not do what I want so
> I cannot use that.  The problem is I would like each "sub-manifest"
> file to be standalone as well as the master manifest file.  So given a
> original manifest file like
>
> <rdf:RDF>
>
>    <xi:include href="String.rdf"/>
>
> </rdf:RDF>
>
> and a file String.rdf like
>
> <rdf:RDF>
>    <testCase1/>
> </rdf:RDF>
>
> when processed I get
>
> <rdf:RDF>
>    <rdf:RDF>
>      <testcase1/>
>    </rdf:RDF>
> </rdf:RDF>
>
> Which is not what I want and illegal rdf regardless
>

Thats why we have XIncludes with XPointer.  For your example change to:

<xi:include href="String.rdf" xpointer="/rdf:RDF/testCase1"/>

-- 
Jeremy Kloth
Fourthought, Inc.
http://fourthought.com/
http://4suite.org/


More information about the Versa mailing list