[Versa] Updated test cases and spec

Jeremy Kloth jeremy.kloth at fourthought.com
Fri Oct 7 16:19:20 MDT 2005


On Wednesday 05 October 2005 1:33 pm, Michael Olson wrote:
> On Oct 5, 2005, at 1:03 PM, Jeremy Kloth wrote:
> > On Wednesday 05 October 2005 12:38 pm, Michael Olson wrote:
> >> 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.
> >
> > OK, to translate that to a valid XPointer:
> >
> >
> > xmlns(rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#)xpointer(/rdf:
> > RDF/*)
> >
> > Although I would probably rewrite it as /*/* to avoid the xmlns()
> > declaration.
> > One problem is that our XPointer support in Domlette doesn't support
> > the '*'
> > match yet.
> >
> > And, for the record, XInclude/XPointer does allow for multiple node
> > inclusion:
> > http://www.w3.org/TR/xinclude/#multiple-nodes
>
> Oh good its been changed.  When I got the error from domlette I just
> assumed...
>

Support for this is now checked in, so feel free to use:

<xi:include href="xxx" xpointer="xpointer(/root/*)"/>

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


More information about the Versa mailing list