I checked the DOM wrapper reader in woodstox to see what it does and it does 
something fairly similar.   Thus, I cannot see why we cannot change that 
method to work.    I'll run the full test suite and if things are OK, I'll 
get it committed.

Dan


On Saturday 09 August 2008 5:52:10 pm Marcin Gałązka wrote:
> Hi
>
> I was testing passing arrays as parameters and I have noticed that CXF
> throws javax.xml.stream.XMLStreamException if array data is present in
> request. An example (generated by soapUI):
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:test="http://test/";>
>       <soapenv:Header/>
>       <soapenv:Body>
>               <test:test2>
>                       <!--Zero or more repetitions:-->
>                       <arg0>1</arg0>
>                       <arg0>2</arg0>
>                       <!--Optional:-->
>                       <arg1>foo</arg1>
>               </test:test2>
>       </soapenv:Body>
> </soapenv:Envelope>
>
> If I remove a comment between arg0 and arg1 everything is ok. For some
> reason this bug is triggered by enabling
> org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor. After further
> investigation I've discovered this -
> http://jira.codehaus.org/browse/XFIRE-1072 - and
> org.apache.cxf.staxutils.AbstractDOMStreamReader shares the same behavior.
> Any reason why fix prepared by pmarsteau cannot be aplied? It looks sane
> IMO.
>
> CXF 2.1.1, JAX-WS + JAXB.



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to