xsd - Is 'M4I' or 'M4M' a valid XML Schema Integer? If yes, why and what is its meaning? -


i'm working large xml file, opencyc ontology. (you can download opencyc-latest.owl.gz here: http://sw.opencyc.org/)

this xml file contains lines these:

<owl:objectproperty rdf:about="mx4rvvi4w5wpebgdrcn5y29yca">     <rdfs:label xml:lang="en">arg 3 genl</rdfs:label>     <cycannot:label xml:lang="en">arg3genl</cycannot:label>     <!-- [...] -->      <!-- [strange lines begin here] -->     <mx4rvviazpwpebgdrcn5y29yca        rdf:datatype="http://www.w3.org/2001/xmlschema#integer"       >m4i</mx4rvviazpwpebgdrcn5y29yca>     <mx4rv6bnr5wpebgdrcn5y29yca        rdf:datatype="http://www.w3.org/2001/xmlschema#integer"       >m4m</mx4rv6bnr5wpebgdrcn5y29yca>     <!-- [strange lines ended here] -->      <!-- [...] --> </owl:objectproperty> 

don't worry tag names. that's how opencyc names tags. i'd rather point attention content.

for not familiar rdf/xml documents: rdf:datatype attribute 2 strange lines says content of tag should interpreted xml schema integer.

my questions boil down to: m4i , m4m (or other strange values found far m4e, m4q, m4e) valid xml schema integers? or these errors in opencyc ontology?

if valid, meaning? , why valid after all? (i.e. documentation should read insights meaning?)

the literals you're referring not valid integers. representation of in terms of xml schema type sytem, available online @ http://www.w3.org/tr/xmlschema-2/#integer.

it says:

integer has lexical representation consisting of finite-length sequence of decimal digits (#x30-#x39) optional leading sign. if sign omitted, "+" assumed. example: -1, 0, 12678967543233, +100000.

according described semantics, file invalid.


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -