Hi, I'm writing own XML Schema part 2 Datatypes validator. But I'm confused because of "length" facet. It's got a property "fixed". In REC it is said: If <http://www.w3.org/TR/xmlschema-2/#length-fixed>{fixed} is true, then types for which the current type is the <http://www.w3.org/TR/xmlschema-2/#defn-basetype>{base type definition} cannot specify a value for <http://www.w3.org/TR/xmlschema-2/#dc-length>length other than <http://www.w3.org/TR/xmlschema-2/#length-value>{value}. But then one constraint says: Schema Component Constraint: length valid restriction It is an <http://www.w3.org/TR/xmlschema-2/#dt-error>·error<http://www.w3.org/TR/xmlschema-2/#dt-error>· if <http://www.w3.org/TR/xmlschema-2/#dc-length>length is among the members of <http://www.w3.org/TR/xmlschema-2/#defn-facets>{facets} of <http://www.w3.org/TR/xmlschema-2/#defn-basetype>{base type definition} and <http://www.w3.org/TR/xmlschema-2/#length-value>{value} is not equal to the <http://www.w3.org/TR/xmlschema-2/#length-value>{value} of the parent <http://www.w3.org/TR/xmlschema-2/#dc-length>length. It seems like redundance? Or is there any difference? Thanks, TobbiReceived on Wednesday, 15 May 2002 02:39:42 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:30 GMT