W3C home > Mailing lists > Public > www-svg@w3.org > January 2002

XML Schema for SVG - bugs

From: Jiri Jirat <Jiri.Jirat@systinet.com>
Date: Thu, 10 Jan 2002 16:29:44 +0100
Message-ID: <3C3DB368.7090605@systinet.com>
To: www-svg@w3.org
Hello,
  the XML Schema has the following errors:

-------------
  file:///mnt/garbage/SVG1.1/SVG.xsd:343:52: Invalid: attribute with ref
    xml:base can't have type anyURI

    file:///mnt/garbage/SVG1.1/SVG.xsd:844:46: Invalid: attribute with ref
    xlink:href can't have type anyURI

    file:///mnt/garbage/SVG1.1/SVG.xsd:1877:46: Invalid: attribute with ref
    xlink:href can't have type anyURI
-------------

It means:
on lines 343, 844 and 1877 (plus minus one line:-))
there is an "xs:attribute" element, which has both
"ref" and "type" attribute. This is forbidden in:

XML Schema Part 1: Structures >
paragraph 3.2.3 (Constraints on XML Representations of Attribute 
Declarations) >
item 3.2

Quote:
"If ref is present, then all of <simpleType>,
form and type must be absent."


Regards
Jirka


-- 
  <name firstName="Jirka" surname="Jirat"/>
  <mail>     jiratj@systinet.com  </mail>
  <support>  http://www.zvon.org </support>
  <zvonMailingList> http://www.zvon.org/index.php?nav_id=4 
</zvonMailingList>
Received on Thursday, 10 January 2002 10:29:19 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT