openesb-components/ojc-core/encodersl/encoder-custom/test/data/c065.xsd

145 lines
6.6 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xml.netbeans.org/schema/test" xmlns:enc="urn:com.sun:encoder" xmlns:urn="urn:com.sun:encoder-custom-1.0" targetNamespace="http://xml.netbeans.org/schema/test" elementFormDefault="qualified">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<enc:encoding name="Custom Encoding" namespace="urn:com.sun:encoder-custom-1.0" style="customencoder-1.0"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="root">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:top xmlns:urn="urn:com.sun:encoder" xmlns:enc="urn:com.sun:encoder">true</urn:top>
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>group</urn:nodeType>
<urn:delimiterSet>
<urn:level>
<urn:delimiter>
<urn:kind>normal</urn:kind>
<urn:precedence>10</urn:precedence>
<urn:optionalMode>never</urn:optionalMode>
<urn:terminatorMode>never</urn:terminatorMode>
<urn:bytes>
<urn:constant>|</urn:constant>
</urn:bytes>
</urn:delimiter>
</urn:level>
</urn:delimiterSet>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="groupNode">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>group</urn:nodeType>
<urn:order>any</urn:order>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="msh_element">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>group</urn:nodeType>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="msh_delimField" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>delimited</urn:nodeType>
<urn:match>MSH</urn:match>
<urn:alignment>begin</urn:alignment>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="pv1_element" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>group</urn:nodeType>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="pv1_delimField" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>delimited</urn:nodeType>
<urn:match>PV1</urn:match>
<urn:alignment>begin</urn:alignment>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="pv2_element">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>group</urn:nodeType>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="pv2_delimField" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>delimited</urn:nodeType>
<urn:match>PV2</urn:match>
<urn:alignment>begin</urn:alignment>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="fixedelement">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>group</urn:nodeType>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fixedField1" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>fixedLength</urn:nodeType>
<urn:length>25</urn:length>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>