Hi Joe,

looks OK.

Best
Lance
On Nov 3, 2014, at 4:09 PM, huizhe wang <huizhe.w...@oracle.com> wrote:

> Hi,
> 
> The order of the Character event for a built-in entity reference was wrong 
> after the integration of StAX in JDK 6. The error was introduced when all 
> Character event was moved to the scanDocument method. The Character event in 
> handleCharacter method was then commented out to avoid duplicate Character 
> event. However, that change also changed the event sequence, startEntity - 
> characters - endEntity became startEntity - endEntity - characters.
> 
> The following fix adds a flag builtInRefCharacterHandled to indicate whether 
> or not the Character event has been handled. If yes, an ENTITY_REFERENCE is 
> returned, which does nothing.
> 
> http://cr.openjdk.java.net/~joehw/jdk9/6770436/webrev/
> 
> Please review.
> 
> Thanks,
> Joe



Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
lance.ander...@oracle.com



Reply via email to