pdf-association/arlington-pdf-model

issues with propagation of the data model

bdoubrov opened this issue · 1 comments

The gcxml tool used to generate version specific tsv grammar files incorrectly supports:

fn:IsRequired(fn:SinceVersion(2.0,(fn:RectWidth(Rect)>0) || (fn:RectHeight(Rect)>0)))

This expression is replaced by true in the tsv file for version 2.0. The issue seem to be related with the code of

public String reduceRequiredForVersion(String reqd, double version) {

This and many other problems!
Rather than constantly trying to keep multiple implementations (C++, Java, Python) in sync, I propose to move to an ANTLR definition for be official definition of the Arlington predicate grammar: #63. Do you like this idea or not?