Hi Daniel,
I deleted the endDTD method. It could have been used to signal the end
of DTD parsing and therefore serve as a validation point. However, the
parser would have thrown Exceptions if a DTD parsing wasn't completed
properly, that seems to make an endDTD check unnecessary, at least as
the current parser impl goes.
The small footprint parser has its problems, for example, not providing
specific error messages when things go wrong. But since this is a
Properties usage only, it serves the purpose well enough.
Updated webrev:
http://cr.openjdk.java.net/~joehw/jdk12/8213325/webrev_v02/
Previous:
http://cr.openjdk.java.net/~joehw/jdk12/8213325/webrev_v01/
Best regards,
Joe
On 11/14/18, 2:32 AM, Daniel Fuchs wrote:
Hi Joe,
I do not see where the new DTDHandler::endDTD methos is called.
Is that an oversight or is there more magic?
best regards,
-- daniel
On 14/11/2018 05:18, Joe Wang wrote:
Hi,
Please review a patch to bring the small footprint parser for
java.util.Properties compliant with the specification.
JBS: https://bugs.openjdk.java.net/browse/JDK-8213325
webrevs: http://cr.openjdk.java.net/~joehw/jdk12/8213325/webrev/
Thanks,
Joe