Re: xsts-2002-01-16 - msxsdtest - errors

Hi

 

I think, test case attP009 is ok for the following reasons:

 

-          the schema declares attribute "att"  with a fixed {value
constraint}

-          the XML Schema Part 1 states in section "3.2.1 The Attribute
Declaration Schema Component":

 

<cite>

{value constraint}
<file:///\\tamlib\tamlib\int\Library\Workgroups\Architecture%20Team\Docu
ments\standards\XMLSchema\XML%20Schema%20Part%201%20Structures%20Errata%
20merged.htm#a-value_constraint#a-value_constraint>  reproduces the
functions of XML 1.0 default and #FIXED attribute values. default
specifies that the attribute is to appear unconditionally in the
post-schema-validation infoset, with the supplied value used whenever
the attribute is not actually present; fixed indicates that the
attribute value if present must equal the supplied constraint value, and
if absent receives the supplied value as for default. 

</cite>

 

Thus, attribute "att" is present implicitly and the test should be OK.

 

Best regards

Uli

 

Received on Wednesday, 17 August 2005 10:06:17 UTC