You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/10/17 19:49:50 UTC

[jira] Resolved: (WSCOMMONS-262) Improve "setPrefix before startElement" XMLStreamWriter toggle.

     [ https://issues.apache.org/jira/browse/WSCOMMONS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved WSCOMMONS-262.
--------------------------------------

    Resolution: Fixed

Committed 585599

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org