| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" |
| elementFormDefault="qualified" attributeFormDefault="unqualified" > |
| |
| <!--generic mnemonic NL, 2 elements, initiatedContent=false, one child of sequence with initiator, and one with terminator --> |
| |
| |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| |
| <dfdl:format initiator="" terminator="" leadingSkip="0" trailingSkip="0" truncateSpecifiedLengthString="no" textBidi="no" floating="no" encoding="UTF-16" utf16Width="variable" byteOrder="littleEndian" ignoreCase="yes" |
| textStringJustification="left" |
| textStringPadCharacter="0" textTrimKind="none" textPadKind="none" documentFinalTerminatorCanBeMissing="no" |
| alignment="1" alignmentUnits="bytes" fillByte="f" occursCountKind="implicit"/> |
| |
| </xs:appinfo> |
| </xs:annotation> |
| |
| <xs:element name="Fixed_text_sequence" dfdl:lengthKind="implicit"> |
| <xs:complexType> |
| |
| <xs:sequence dfdl:sequenceKind="ordered" dfdl:initiatedContent="no" > |
| |
| <xs:element name="element1" |
| minOccurs="1" maxOccurs="1" |
| dfdl:representation="text" |
| dfdl:length="1" |
| dfdl:lengthKind="explicit" |
| dfdl:lengthUnits="characters" |
| dfdl:initiator="%NL;" |
| dfdl:terminator="" |
| dfdl:outputNewLine="%CR;%LF;" |
| |
| dfdl:nilValueDelimiterPolicy="both" |
| dfdl:nilKind="literalValue" |
| dfdl:nilValue="-"> |
| |
| <xs:simpleType> |
| <xs:restriction base="xs:string"> |
| |
| </xs:restriction> |
| </xs:simpleType> |
| </xs:element> |
| |
| <xs:element name="element2" |
| minOccurs="1" maxOccurs="1" |
| dfdl:representation="text" |
| dfdl:length="1" |
| dfdl:lengthKind="explicit" |
| dfdl:lengthUnits="characters" |
| dfdl:initiator="" |
| dfdl:terminator="%NL;" |
| dfdl:outputNewLine="%CR;%LF;" |
| |
| dfdl:nilValueDelimiterPolicy="both" |
| dfdl:nilKind="literalValue" |
| dfdl:nilValue="-"> |
| |
| <xs:simpleType> |
| <xs:restriction base="xs:string"> |
| |
| </xs:restriction> |
| </xs:simpleType> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| </xs:schema> |