[Versa] Updated test cases and spec

Michael Olson Mike.Olson at fourthought.com
Wed Oct 5 12:38:36 MDT 2005


>>
>> 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"/>
>

Well, life is actually not that simple or I would have used xptr, if  
you look at the actual String.rdf it looks like

<rdf:RDF>
   <testcase1/>
   <testcase2/>
   <baz/>
  ...
</rdf:RDF>


In which case I could enumerate _every_ test case in the manifest file  
(including the nested includes) which current count is 437.  Not really  
a feasible option.

What I would like to do it

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

which, for some reason I never understood, is invalid xptr.  Well, I  
understand why it is invalid xptr, but why xinclude would then depend  
on something that limits it to a single element inclusion I never under  
stood.

Mike


> --  
> Jeremy Kloth
> Fourthought, Inc.
> http://fourthought.com/
> http://4suite.org/
> _______________________________________________
> Versa mailing list
> Versa at lists.fourthought.com
> http://lists.fourthought.com/mailman/listinfo/versa
>
------------------------------------------------------------------------ 
-----------------
Mike Olson                                                Principal  
Consultant
mike.olson at fourthought.com                +1 720 253 4662
Fourthought, Inc.                                       
http://Fourthought.com
PO Box 270590,                                       http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management



More information about the Versa mailing list