Improve "setPrefix before startElement" XMLStreamWriter toggle.
---------------------------------------------------------------
Key: WSCOMMONS-262
URL: https://issues.apache.org/jira/browse/WSCOMMONS-262
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
Background:
------------------
There is ambiguity in the StAX specification regarding whether (1) the
setPrefix event should be generated before the startElement event or (2) the
setPrefix should be generated
after the startElement event
Both camps are rather entrenched.
Current Support:
----------------------
We have a toggle in the serialize utility to try and detect if the parser
should use the (1) or (2).
New Change
------------------
Updating the toggle to inspect the following property on the XMLStreamWriter:
"javax.xml.stream.XMLStreamWriter.isSetPrefixBeforeStartElement"
The intention is to make this a standard StAX property. It is not yet a
standard property. Thanks to Peter McCracken (IBM) for his assistance with
this change.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]