[Pellet-users] Pattern data range restriction does not appear to work on xsd:string

Arthur Peters amp at singingwizard.org
Tue Mar 25 23:10:14 UTC 2008


I am playing with pattern restrictions and I found that they do not work on
string property. When I ask the reasoner to do anything with such a
restriction I get the following warning logged:

WARN [main] (PelletVisitor.java:851) - Unrecognized base datatype string

I have attached a small program that shows this behavior.

A little investigation shows that in
PelletVisitor.visit(OWLDataRangeRestriction
node) nothing useful happens unless "baseDatatype instanceof XSDAtomicType"
and the class that is used for strings (XSDString) does not implement that
interface. This seems a bit odd to me.

Thanks for all of your work on pellet. It's a great library.

-Arthur

-- 
Home page: www.singingwizard.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080325/7a7c1991/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatternMinimalTestCase.java
Type: text/x-java
Size: 2352 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080325/7a7c1991/attachment.java 


More information about the Pellet-users mailing list