You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2020/05/04 15:36:20 UTC
[GitHub] [incubator-daffodil] tuxji opened a new pull request #376: Fix missing argument for format specifier and ambiguous e1
tuxji opened a new pull request #376:
URL: https://github.com/apache/incubator-daffodil/pull/376
Two parser test cases (namespace_uri_01 and namespace_uri_02, set
aside until fn:namespace-uri() gets implemented) were failing for
other reasons that need to be fixed too. These test cases were using
root elements e1 & e2 that could be found in two namespaces (home and
first), making the lookup ambiguous. The lookup error handling code
tried to format an exception message with two format specifiers but
only one argument, causing an exception to be thrown that was not the
original problem.
Add the missing argument for the second format specifier %s to
SchemaSet.findRootElement.
Remove the ambiguous root element lookups and add namespace prefixes
to the elements e1 & e2 in the namespace_uri_01 and namespace_uri_02
test cases within Functions.tdml.
Allow TestDFDLExpressions to run test_namespace_uri_01 and
test_namespace_uri_02 since the reasons for them failing are fixed
now.
DAFFODIL-1101
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-daffodil] stevedlawrence commented on pull request #376: Fix missing argument for format specifier and ambiguous e1
Posted by GitBox <gi...@apache.org>.
stevedlawrence commented on pull request #376:
URL: https://github.com/apache/incubator-daffodil/pull/376#issuecomment-624043927
Thanks for your contribution!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org