| <?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. |
| --> |
| <!-- |
| Portions of this schema taken from examples in Data Format Description Language (DFDL) v1.0 Specification |
| Copyright (C) Open Grid Forum (2005-2014). Some Rights Reserved. |
| https://www.ogf.org/ogf/doku.php/about/copyright |
| --> |
| |
| <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/" |
| xmlns:cal="http://www.saf.cal/" elementFormDefault="unqualified" |
| attributeFormDefault="unqualified" > |
| <xs:include schemaLocation="org/apache/daffodil/xsd/DFDLGeneralFormat.dfdl.xsd" /> |
| |
| <xs:annotation> |
| <!-- Defaulted property values minimum needed for a text boolean--> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:format ref="GeneralFormat" initiator="" terminator="" leadingSkip="0" trailingSkip="0" truncateSpecifiedLengthString="no" textBidi="no" floating="no" encoding="utf-8" byteOrder="bigEndian" |
| alignment="1" alignmentUnits="bytes" fillByte="f" occursCountKind="implicit" |
| lengthUnits="bytes" initiatedContent="no" |
| sequenceKind="ordered" ignoreCase="no" textPadKind="none" |
| textTrimKind="none" textStandardBase="10" textNumberJustification="right" |
| separatorPosition="infix" separatorSuppressionPolicy="never" |
| |
| escapeSchemeRef="" textNumberPattern="##,000.##" |
| textStandardGroupingSeparator="," textStandardDecimalSeparator="." |
| textStandardExponentRep="E" textNumberCheckPolicy="lax" |
| textStandardInfinityRep="~" textStandardNaNRep="z" |
| textNumberRoundingMode="roundHalfDown" textStandardZeroRep="" |
| textZonedSignStyle="asciiStandard" textNumberRounding="pattern" |
| bitOrder="mostSignificantBitFirst" representation="text" |
| encodingErrorPolicy="error"/> |
| |
| |
| </xs:appinfo> |
| </xs:annotation> |
| |
| |
| <xs:element name="root" dfdl:lengthKind="implicit"> |
| |
| <xs:complexType> |
| <xs:sequence> |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:sequence encodingErrorPolicy="error" encoding="UTF-8" |
| byteOrder="bigEndian" bitOrder="mostSignificantBitFirst" |
| alignment="1" alignmentUnits="bytes" fillByte="f" leadingSkip="0" |
| trailingSkip="0" separator="," /> |
| </xs:appinfo> |
| </xs:annotation> |
| |
| <xs:element name="w" type="xs:int"> |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:element representation="text" encodingErrorPolicy="error" encoding="UTF-8" |
| textNumberRep="standard" textNumberPattern="####0" |
| textStandardGroupingSeparator="," textStandardDecimalSeparator="." |
| lengthKind="delimited" /> |
| </xs:appinfo> |
| </xs:annotation> |
| </xs:element> |
| |
| <xs:element name="x" type="xs:int"> |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:element representation="text" encodingErrorPolicy="error" encoding="UTF-8" |
| textNumberRep="standard" textNumberPattern="#######0" |
| textStandardGroupingSeparator="," textStandardDecimalSeparator="." |
| lengthKind="delimited" /> |
| </xs:appinfo> |
| </xs:annotation> |
| </xs:element> |
| |
| <xs:element name="y" type="xs:double"> |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:element representation="text" encodingErrorPolicy="error" encoding="UTF-8" |
| textNumberRep="standard" textNumberPattern="0.0E+000" |
| textStandardGroupingSeparator="," textStandardDecimalSeparator="." |
| lengthKind="delimited" /> |
| </xs:appinfo> |
| </xs:annotation> |
| </xs:element> |
| |
| <xs:element name="z" type="xs:float"> |
| <xs:annotation> |
| <xs:appinfo source="http://www.ogf.org/dfdl/"> |
| <dfdl:element representation="text" encodingErrorPolicy="error" encoding="UTF-8" |
| textNumberRep="standard" textNumberPattern="0.0E0" |
| textStandardGroupingSeparator="," textStandardDecimalSeparator="." |
| lengthKind="delimited" /> |
| </xs:appinfo> |
| </xs:annotation> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| </xs:schema> |