You've already forked lazarus-ccr
Handle top level(global) declared attribute and references
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
37
wst/trunk/tests/test_suite/files/global_attribute.wsdl
Normal file
37
wst/trunk/tests/test_suite/files/global_attribute.wsdl
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0"?>
|
||||
<definitions name="wst_test"
|
||||
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
||||
xmlns:tns="library1"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
||||
targetNamespace="urn:wst-test">
|
||||
|
||||
<types>
|
||||
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:wst-test">
|
||||
|
||||
<xsd:attribute name="intAtt" type="xsd:int">
|
||||
</xsd:attribute>
|
||||
|
||||
<xsd:attribute name="strAtt" type="xsd:string"/>
|
||||
|
||||
|
||||
<xsd:complexType name="TSampleClass">
|
||||
<xsd:complexContent>
|
||||
<xsd:attribute ref="n:intAtt" />
|
||||
<xsd:attribute ref="n:strAtt" />
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="AttributedString">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute ref="n:strAtt"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
</types>
|
||||
|
||||
|
||||
</definitions>
|
27
wst/trunk/tests/test_suite/files/global_attribute.xsd
Normal file
27
wst/trunk/tests/test_suite/files/global_attribute.xsd
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:n="urn:wst-test"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:wst-test">
|
||||
|
||||
<xsd:attribute name="intAtt" type="xsd:int">
|
||||
</xsd:attribute>
|
||||
|
||||
<xsd:attribute name="strAtt" type="xsd:string"/>
|
||||
|
||||
|
||||
<xsd:complexType name="TSampleClass">
|
||||
<xsd:complexContent>
|
||||
<xsd:attribute ref="n:intAtt" />
|
||||
<xsd:attribute ref="n:strAtt" />
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="AttributedString">
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute ref="n:strAtt"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
Reference in New Issue
Block a user