You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Atakan Kaya <ka...@gmail.com> on 2012/06/25 17:33:45 UTC
Where is XSDDatatypes.XSDIDREFS
Hi,
I've noticed that at the implementation of loadXSDSimpleTypes method in
XSDDatatype class these lines are commented;
// tm.registerDatatype(XSDIDREFS);
// tm.registerDatatype(XSDENTITIES);
// tm.registerDatatype(XSDNMTOKENS);
Why are these lines commented? I need to use XSDDatatypes.XSDIDREFS, but
how can I use this datatype?
Thanks.
Re: Where is XSDDatatypes.XSDIDREFS
Posted by Alex Hall <al...@revelytix.com>.
On Mon, Jun 25, 2012 at 11:33 AM, Atakan Kaya <ka...@gmail.com> wrote:
> Hi,
>
> I've noticed that at the implementation of loadXSDSimpleTypes method in
> XSDDatatype class these lines are commented;
>
> // tm.registerDatatype(XSDIDREFS)**;
> // tm.registerDatatype(**XSDENTITIES);
> // tm.registerDatatype(**XSDNMTOKENS);
>
> Why are these lines commented? I need to use XSDDatatypes.XSDIDREFS, but
> how can I use this datatype?
>
These datatypes are considered unsuitable for use in RDF:
http://www.w3.org/TR/rdf11-concepts/#xsd-datatypes
[[
xsd:IDREFS, xsd:ENTITIES and xsd:NMTOKENS are sequence-valued datatypes
which do not fit the RDF datatype model.
]]
-Alex
>
> Thanks.
>