summaryrefslogtreecommitdiff
path: root/test/schemas/src-attribute2_0.xsd
blob: d10cc81f155610c8fe6603030a4bd387b9a6eb71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- 3.2.3 : 2 
    If default and use are both present, use must have the ·actual value· optional
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
	
  <element name="foo">
  	  <complexType>
  	  	<attribute name="bar" type="string" use="required" default="moo" />
  	  </complexType>    
  </element>  

</schema>