stevedlawrence commented on code in PR #1645:
URL: https://github.com/apache/daffodil/pull/1645#discussion_r3017680943


##########
daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/SimpleTypes.tdml:
##########
@@ -3357,7 +3357,7 @@
     </tdml:document>
     <tdml:infoset>
       <tdml:dfdlInfoset>
-        <dec_04 xsi:type="xs:double">1E-200</dec_04>
+        <dec_04 
xsi:type="xs:decimal">0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001</dec_04>

Review Comment:
   Yep, and it's actually required according to XSD. The lexical representation 
for xs:decimal does not allow scientific notation:
   
   https://www.w3.org/TR/xmlschema-2/#decimal
   
   And I confirmed that xmllint does disallow scientific notation, I assume 
other validators do to.



-- 
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]

Reply via email to