138 lines
5.7 KiB
XML
138 lines
5.7 KiB
XML
![]() |
<?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" 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">
|
||
|
<top xmlns="urn:com.sun:encoder">true</top>
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>group</nodeType>
|
||
|
<delimiterSet>
|
||
|
<level>
|
||
|
<delimiter>
|
||
|
<kind>normal</kind>
|
||
|
<precedence>10</precedence>
|
||
|
<bytes>
|
||
|
<constant>|</constant>
|
||
|
</bytes>
|
||
|
<optionalMode>never</optionalMode>
|
||
|
<terminatorMode>never</terminatorMode>
|
||
|
</delimiter>
|
||
|
</level>
|
||
|
<level>
|
||
|
<delimiter>
|
||
|
<kind>normal</kind>
|
||
|
<precedence>10</precedence>
|
||
|
<bytes>
|
||
|
<constant>,</constant>
|
||
|
</bytes>
|
||
|
<optionalMode>never</optionalMode>
|
||
|
<terminatorMode>never</terminatorMode>
|
||
|
</delimiter>
|
||
|
</level>
|
||
|
</delimiterSet>
|
||
|
<order>sequence</order>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
<xsd:complexType>
|
||
|
<xsd:sequence>
|
||
|
<xsd:element name="groupNode1">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>group</nodeType>
|
||
|
<order>sequence</order>
|
||
|
<nOfN>
|
||
|
<minN>1</minN>
|
||
|
<maxN>1</maxN>
|
||
|
</nOfN>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
<xsd:complexType>
|
||
|
<xsd:sequence>
|
||
|
<xsd:element name="element1" minOccurs="0">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>delimited</nodeType>
|
||
|
<order>sequence</order>
|
||
|
<nOfN>
|
||
|
<minN>1</minN>
|
||
|
<maxN>1</maxN>
|
||
|
</nOfN>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
<xsd:complexType>
|
||
|
<xsd:sequence>
|
||
|
<xsd:element name="delimField1" type="xsd:int" minOccurs="0">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>delimited</nodeType>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
</xsd:element>
|
||
|
<xsd:element name="delimField2" type="xsd:string" minOccurs="0">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>delimited</nodeType>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
</xsd:element>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
<xsd:element name="element2" minOccurs="0">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>delimited</nodeType>
|
||
|
<order>sequence</order>
|
||
|
</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">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>fixedLength</nodeType>
|
||
|
<alignment>blind</alignment>
|
||
|
<length>10</length>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
</xsd:element>
|
||
|
<xsd:element name="fixedField2" type="xsd:string">
|
||
|
<xsd:annotation>
|
||
|
<xsd:appinfo source="urn:com.sun:encoder">
|
||
|
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
|
||
|
<nodeType>fixedLength</nodeType>
|
||
|
<alignment>blind</alignment>
|
||
|
<length>15</length>
|
||
|
</nodeProperties>
|
||
|
</xsd:appinfo>
|
||
|
</xsd:annotation>
|
||
|
</xsd:element>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
</xsd:schema>
|