src-attribute4_0.xsd 440 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!-- 3.2.3 : 3.2
  3. type and <simpleType> must not both be present
  4. -->
  5. <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
  6. <attribute name="bar" type="string">
  7. <simpleType>
  8. <restriction base="string">
  9. <maxLength value="20"/>
  10. </restriction>
  11. </simpleType>
  12. </attribute>
  13. <element name="foo"/>
  14. </schema>