stevedlawrence opened a new pull request #640: URL: https://github.com/apache/daffodil/pull/640
We sort of have a two-pass system for handling DFDL strings that contain character entities related to delimiters. The first past converts character entities to the character values, excluding things like escaped percents and charater classes like NL, WSP, etc. The second pass handles those excluded entities. However, this first pass replaces the hex entity %#x25; (and corresponding decimal entity) to a percent sign, which can then interfere with the second pass, which should never see single percent signs except for the exceptions mentioned above. This modifies the first pass so that character entities that result in a single percent are replaced with a double-percent. This will then be converted to single precent used escaped-percent logic elsewhere. This also has refactors related existing code to be more robust and reduce duplication. DAFFODIL-2479 -- 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]
