src-attribute1_0.xsd 379 B

12345678910111213
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!-- 3.2.3 : 1
  3. default and fixed must not both be present
  4. -->
  5. <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
  6. <element name="foo">
  7. <complexType>
  8. <attribute name="bar" type="string" default="moo" fixed="true"/>
  9. </complexType>
  10. </element>
  11. </schema>