W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Is it legal to embed xml within an <annotation><documentation>

From: Chuck Paussa <cpaussa@myrealbox.com>
Date: Wed, 12 Jun 2002 11:42:43 -0700
Message-ID: <3D079623.9000606@myrealbox.com>
To: xmlschema-dev@w3.org

My question is "Is my schema wrong? or, is the schema quality checker 

I'm developing a schema for XSL:FO. In my schema I've included a bunch 
of <annotation><documentation> elements for various purposes. IBM's 
schema quality checker complains if I include certain xml elements 
within the annotation. Here's an example where it complains about the 
element <length/>

<simpleType name = "length_range_Type">
            A compound datatype, with components: minimum, optimum, 
maximum. Each component is a <length/>. If "minimum" is greater than 
optimum, it will be treated as if it had been set to "optimum". If 
"maximum" is less than optimum, it will be treated as if it had been set 
to "optimum". A property may define additional constraints on the values.
                    <xs:restriction base = "fo:length_Type"/>
        <xs:minLength value = "3" />
        <xs:maxLength value = "3" />

Initializing Schema Quality Checker. Please wait ...
SchemaQualityChecker has been initialized
PROCESSING \fop-0.20.1\fop4f.xsd time : 2002-06-12T11:21:58 ...
\fop-0.20.1\fop4f.xsd (file 1 of 1) now being read ...
 file = file:C:/Fop-0.20.1/fop4f.xsd line 948 column 14
cvc-complex-type.4: Attribute 'value' must appear on element 'length'.
Received on Wednesday, 12 June 2002 14:36:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC