Khronos Public Bugzilla
Bug 119 - definition of sidref_type in spec doesn't match schema
Summary: definition of sidref_type in spec doesn't match schema
Status: NEW
Alias: None
Product: COLLADA
Classification: Unclassified
Component: Specification (show other bugs)
Version: 1.5.0
Hardware: Macintosh Mac OS
: P3 minor
Target Milestone: Release 1.5.1
Assignee: Fabrice Robinet
QA Contact: COLLADA Work Group email alias
Depends on:
Reported: 2009-03-27 16:41 PDT by Ellen Finch
Modified: 2014-01-07 10:30 PST (History)
0 users

See Also:


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})?"/>

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.