Khronos Public Bugzilla
Bug 119 - definition of sidref_type in spec doesn't match schema
definition of sidref_type in spec doesn't match schema
Status: NEW
Product: COLLADA
Classification: Unclassified
Component: Specification
1.5.0
Macintosh Mac OS
: P3 minor
: Release 1.5.1
Assigned To: Fabrice Robinet
COLLADA Work Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-27 16:41 PDT by Ellen Finch
Modified: 2014-01-07 10:30 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellen Finch 2009-03-27 16:41:07 PDT
In spec, sidref_type is given as xs:extension base="xs:token", which is wrong; in schema it's 
<xs:restriction base="xs:string">
   <xs:pattern value="(([\i-[:]][\c-[:]]*)|.)(/[\i-[:\.]][\c-[:]]*)+((\.[\i-[:]][\c-[:]]*)|(\([0-9]+\)){1,2})?"/>
</xs:restriction>

Don't necessarily need to put the whole pattern into the spec, but indicate that it is restricted in what characters appear and in which sequence they are used.