DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6870

When extra attribute specified the attribute is reported to be missing





------- Additional Comments From [EMAIL PROTECTED]  2002-03-05 16:21 -------
Here is part of my schema, the part of the XML file which uses the element and the 
error message. I 
don't think the error is correct.

SCHEMA:

<xsd:schema 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified">
...
        <xsd:element 
name="title">
                <xsd:complexType>
                        <xsd:attribute name="id" type="xsd:ID" 
use="required"/>
                        <xsd:attribute name="font" type="xsd:string" 
use="optional"/>
                </xsd:complexType>
        </xsd:element>
...

XML:

<uidl 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="ui/uidl.xsd">
...
     <title id="foo" 
extra="bar"/>
...

ERROR:

Error : Attribute "extra" must be declared for element type 
"title".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to