Kristian Rickert created OPENNLP-1990:
-----------------------------------------

             Summary: Regex removal (5c/10): Validate MASC identifiers and 
anchors consistently
                 Key: OPENNLP-1990
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1990
             Project: OpenNLP
          Issue Type: Improvement
            Reporter: Kristian Rickert


Unify MASC identifier, target-list, and anchor parsing across the relevant 
readers. Validate expected prefixes, numeric ranges, and exactly two ordered, 
nonnegative anchors for supported text spans, preserving useful SAX error 
causes. Apply whitespace rules supported by the MASC/GrAF format and document 
their relationship to XML attribute normalization: 
https://www.w3.org/TR/xml/#AVNormalize. Preserve source text and offsets, add 
malformed-input and Unicode regressions, and validate the changes against a 
real MASC corpus.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to