summaryrefslogtreecommitdiff
path: root/tests/schema/ref-type/invalid-0.xsd
blob: 7ce82ede882f7ce5923327df156cc1474f205e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xse="http://www.codesynthesis.com/xmlns/xml-schema-extension"
            xmlns:test="http://www.codesynthesis.com/xmlns/test"
	    xmlns:phony="http://www.codesynthesis.com/xmlns/phony"
            targetNamespace="http://www.codesynthesis.com/xmlns/test">

  <!-- unresolvable namespace prefix -->
  
  <xsd:attribute name="attribute1" type="xsd:IDREF" xse:refType="author"/>
  <xsd:attribute name="attribute2" type="xsd:IDREF" xse:refType="t:author"/>

  <!-- unresolvable namespace -->
  
  <xsd:attribute name="attribute3" type="xsd:IDREF" xse:refType="phony:author"/>

</xsd:schema>