Integrated: 8281093: Violating Attribute-Value Normalization in the XML specification 1.0

Ravi Reddy rreddy at openjdk.java.net
Mon Mar 7 19:40:09 UTC 2022


On Mon, 7 Mar 2022 17:07:20 GMT, Ravi Reddy <rreddy at openjdk.org> wrote:

> This fix is for violation of XML specification on Attribute-Value normalization for external entities having character "\r". 
> 
> While normalizing entity with '\r', we should be checking if the entity is external before changing the position and offset. "isExternal()" check is missed in the new method :
> normalizeNewlines(short version, XMLString buffer, boolean append,boolean storeWS, NameType nt).
> .

This pull request has now been integrated.

Changeset: 3996782c
Author:    Ravi Reddy <rreddy at openjdk.org>
Committer: Joe Wang <joehw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3996782c5af7b0396d5133fab457c507758d9340
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8281093: Violating Attribute-Value Normalization in the XML specification 1.0

Reviewed-by: joehw

-------------

PR: https://git.openjdk.java.net/jdk/pull/7731


More information about the core-libs-dev mailing list