> In trying to work out if it should be >[prefix=]uri or >prefix[=uri]
The first.
> I had a look at the XCQL XML Schema on the CQL web site.
> I could not find support for the default value - I assume its been
> proposed after the XML Schema for XCQL was written.
You just give <prefix><identifier>uri</identifier></prefix>
> How would it be done? Just make that sub-element of the <prefix> element
> optional?
<name> should be optional in XCQL. (If it's not, then it should be)
> ps: I noticed there was a <prefixes> element allowed inside each
> search clause and boolean operator node. An alternative would have
This was because originally prefixes could only occur at the beginning of
a query, rather than anywhere. So it was easiest to add an optional
prefixes element rather than the nested form which is closer to the CQL.
> (For >a((((b=c)))) you have to push down the prefixes wrapped node.
> Wrapping with a prefix element is easier. Not a big deal though.)
Yep. Pull out the prefixes into a temporary area until you find a
clause or triple, then assign them to it. (with an XCQL like
internal structure at least)
Rob
--
,'/:. Dr Robert Sanderson ([log in to unmask])
,'-/::::. http://www.o-r-g.org/~azaroth/
,'--/::(@)::. Special Collections and Archives, extension 3142
,'---/::::::::::. Nebmedes: http://nebmedes.o-r-g.org:8000/
____/:::::::::::::.
I L L U M I N A T I
|