mbeckerle commented on a change in pull request #23: This fix done for
nato-stanag-5516 latest schema.
URL: https://github.com/apache/incubator-daffodil/pull/23#discussion_r160745247
##########
File path:
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/dpath/DFDLExpressionParser.scala
##########
@@ -59,14 +59,15 @@ class DFDLPathExpressionParser[T <: AnyRef](qn: NamedQName,
nodeInfoKind: NodeInfo.Kind,
namespaces: NamespaceBinding,
context: DPathCompileInfo,
- isEvaluatedAbove: Boolean) extends RegexParsers {
+ isEvaluatedAbove: Boolean,
+ host: OOLAGHost) extends RegexParsers {
def compile(expr: String): CompiledExpression[T] = {
- val tree = getExpressionTree(expr)
+ val tree = getExpressionTree(expr, host)
- if (tree.isError) {
- throw new ErrorsNotYetRecorded(tree.getDiagnostics)
- }
+ // if (tree.isError) {
Review comment:
Remove commented code.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services