FS (파일 구분 기호) 및 GS (그룹 구분 기호) 구분 파일에 대한 네이티브 스키마 NXSD를 만들어야합니다. 아무도 여기 좀 도와 줄래? 나는 하나를 만들 수 없다. 도움을 많이 받으실 수 있습니다. 아래에 스키마가 있습니다. 나는 FS와 GS 구분 기호 둘 다에 대해 값에 의해 종료 될 필요가있다 ... 세미콜론 (;)이나 쉼표 (,)로 끝내면이 XSD가 잘 작동한다. 내가 FS와 GS에 의해네이티브 스키마 (nxsd) : FS 및 GS로 구분 된 파일
<?xml version= '1.0' encoding= 'UTF-8' ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://www.oracle.com/ApplicationObjectLibrary/GEMS/GEMSMessage/V1" targetNamespace="http://www.oracle.com/ApplicationObjectLibrary/GEMS/GEMSMessage/V1"
elementFormDefault="qualified" attributeFormDefault="unqualified" nxsd:version="NXSD" nxsd:stream="chars"
nxsd:encoding="ASCII">
<xsd:element name="GEMSMessage">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="GEMS" minOccurs="1" maxOccurs="1" nxsd:lookFor="ST">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ST" type="xsd:string"
minOccurs="0" maxOccurs="1" default="ST" nxsd:style="terminated"
nxsd:terminatedBy=";"> --What will be nxsd:terminatedBy value for FS
</xsd:element>
<xsd:element name="STValue" type="xsd:string"
minOccurs="0" maxOccurs="1" nxsd:style="terminated"
nxsd:terminatedBy=";"/> -- --What will be nxsd:terminatedBy value for GS
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>