axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Shahi (JIRA)" <>
Subject [jira] Created: (AXIS2-101) staxSOAPModelBuilder missing comments processing
Date Wed, 27 Jul 2005 09:11:19 GMT
staxSOAPModelBuilder missing comments processing

         Key: AXIS2-101
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: om  
    Versions: 0.9    
    Reporter: Ashutosh Shahi

As part of XML Infoset, there was some code added to next() method in staxOMBuilder to process
comments etc.
But, we have staxSOAPModelBuilder also, where we do not have any such capability yet. Now
comments can be part of soapMessage as well.
I have a test soap message : 
"<?xml version='1.0' encoding='UTF-8'?>" + 
                                    "<!-- Comment -->" +
                                    "<env:Envelope xmlns:env=''>"

And doing something like:
stAXSOAPModelBuilder =
                        new StAXSOAPModelBuilder(
Where input stream has soap message with comments gives an OMException.

Now my question is: 
Both StaxSOAPModelBuilder and StaxOMBuilder extend the abstract class StaxBuilder which has
next() as abstract method. Why not put the functionality in next() method of StaxBuilder itself?
Or atleast we should process comments in StaxSOAPModelBuilder as well.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message