poi/xmlbeans/test/cases/xbean/compile/scomp/detailed/laxDoc.xsd
2018-02-16 22:41:27 +00:00

43 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:lax.Doc.Compilation"
xmlns:tns="urn:lax.Doc.Compilation"
xmlns:pre="noResolutionNamespace"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="ItemRequest" type="tns:ItemRequestType"/>
<xs:complexType name="ItemRequestType">
<xs:annotation>
<xs:documentation>
Ensure that XML content is allowed and not validated when the novdoc option is set
provided content is XHTML compliant and no elements use the schema namespaces
<tns:ItemRequest>
foobaz
</tns:ItemRequest>
<xs:complexType name="foobar">
<xs:sequence>
<xs:element name="foobaz" type="pre:String"/>
</xs:sequence>
</xs:complexType>
provided content is XHTML compliant and no elements use the schema namespaces
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="foobaz" type="xs:string">
<xs:annotation>
<xs:documentation>
Ensure that XML content is allowed and not validated when the novdoc option is set
provided content is XHTML compliant and no elements use the schema namespaces
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="baz" use="required"/>
</xs:complexType>
</xs:schema>