Closed Tomas-Kraus closed 14 years ago
@glassfishrobot Commented Reported by cosmicpaul
@glassfishrobot Commented oleksiys said: fixed. thank you for finding this out!
Tag: FastInfoset-1_2-branch User: oleksiys Date: 2009-10-30 11:16:36+0000 Modified: fi/FastInfoset/src/com/sun/xml/fastinfoset/stax/events/EndElementEvent.java
Log: fix issue #27 https://fi.dev.java.net/issues/show_bug.cgi?id=27 "StAXEventFactory incorrectly processing EndElement QNames"
@glassfishrobot Commented Was assigned to fi-issues
@glassfishrobot Commented This issue was imported from java.net JIRA FI-27
@glassfishrobot Commented Marked as fixed on Thursday, October 29th 2009, 9:21:22 pm
com.sun.xml.fastinfoset.stax.factory.StAXEventFactory is incorrectly processing EndElement QNames as the parameter order is wrong.
com.sun.xml.fastinfoset.stax.factory.StAXEventFactory public EndElement createEndElement(String prefix, String namespaceUri, String localName)
{ EndElementEvent event = new EndElementEvent(prefix, namespaceUri, localName); if(location != null)event.setLocation(location); return event; }
EndElementEvent has the following constructor
public EndElementEvent(String namespaceURI, String localpart, String prefix)
{ _qname = getQName(namespaceURI,localpart,prefix); setEventType(END_ELEMENT); }
This is causing errors when parsing as the QName.equals() do not match as expected for the end elements
Environment
Operating System: All Platform: All
Affected Versions
[current]