gdesrosiers1805 commented on code in PR #1682:
URL: https://github.com/apache/daffodil/pull/1682#discussion_r3397802659
##########
daffodil-test/src/test/resources/org/apache/daffodil/section23/dfdl_functions/Functions.tdml:
##########
@@ -14735,7 +14735,94 @@
</tdml:dfdlInfoset>
</tdml:infoset>
</tdml:parserTestCase>
-
+
+
+ <tdml:defineSchema name="MicrosecondsDateTime.dfdl.xsd">
Review Comment:
I think i copied one of the examples and changed what I needed for these
tests, but i agree that makes sense. if you look at this for instance it uses
the .dfdl.xsd extension as well.
<tdml:defineSchema name="DoubleToRawLong.dfdl.xsd">
<xs:include
schemaLocation="/org/apache/daffodil/xsd/DFDLGeneralFormat.dfdl.xsd" />
<dfdl:format ref="ex:GeneralFormat" lengthUnits="bytes"
representation="binary" />
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:double"
name="DoubleValue" dfdl:lengthKind="explicit" dfdl:length="8" />
<xs:element type="xs:long"
name="LongValue" dfdl:inputValueCalc="{
dfdlx:doubleToRawLong(../ex:DoubleValue) }" />
</xs:sequence>
</xs:complexType>
</xs:element>
</tdml:defineSchema>
I will go ahead and update that one but there might be plenty of other
instances we might need to update as well
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]