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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/04/18 23:13:49 UTC
[jira] Created: (WSCOMMONS-534) "prefix cannot be null or empty"
with SJSXP
"prefix cannot be null or empty" with SJSXP
-------------------------------------------
Key: WSCOMMONS-534
URL: https://issues.apache.org/jira/browse/WSCOMMONS-534
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Reporter: Andreas Veithen
Priority: Minor
The test case SOAP11EnvelopeTestBase#testDiscardHeader should actually be included in SOAPEnvelopeTestBase because it applies equally well to SOAP 1.1 and 1.2. However, doing this causes a test failure in axiom-parser-tests with SJSXP:
testDiscardHeader(org.apache.axiom.soap.impl.llom.SOAP12EnvelopeTest) Time elapsed: 0.005 sec <<< ERROR!
javax.xml.stream.XMLStreamException: prefix cannot be null or empty
at com.sun.xml.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:630)
at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.writeAttribute(XMLStreamWriterWrapper.java:79)
at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:221)
at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:445)
at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:161)
at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:108)
at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:77)
at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:554)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:975)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:117)
at org.apache.axiom.om.impl.llom.OMElementImpl.toStringWithConsume(OMElementImpl.java:1075)
at org.apache.axiom.soap.SOAPEnvelopeTestBase.testDiscardHeader(SOAPEnvelopeTestBase.java:94)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WSCOMMONS-534) "prefix cannot be null or empty"
with SJSXP
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved WSCOMMONS-534.
---------------------------------------
Fix Version/s: Axiom 1.2.9
Resolution: Fixed
The real issue behind this was actually WSCOMMONS-535, which is now fixed. Moved the test case to the right place, so that it is applied to all SOAP versions and Axiom implementations.
> "prefix cannot be null or empty" with SJSXP
> -------------------------------------------
>
> Key: WSCOMMONS-534
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-534
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: Axiom 1.2.9
>
>
> The test case SOAP11EnvelopeTestBase#testDiscardHeader should actually be included in SOAPEnvelopeTestBase because it applies equally well to SOAP 1.1 and 1.2. However, doing this causes a test failure in axiom-parser-tests with SJSXP:
> testDiscardHeader(org.apache.axiom.soap.impl.llom.SOAP12EnvelopeTest) Time elapsed: 0.005 sec <<< ERROR!
> javax.xml.stream.XMLStreamException: prefix cannot be null or empty
> at com.sun.xml.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:630)
> at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.writeAttribute(XMLStreamWriterWrapper.java:79)
> at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:221)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:445)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:161)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:108)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:77)
> at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:554)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:975)
> at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
> at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:117)
> at org.apache.axiom.om.impl.llom.OMElementImpl.toStringWithConsume(OMElementImpl.java:1075)
> at org.apache.axiom.soap.SOAPEnvelopeTestBase.testDiscardHeader(SOAPEnvelopeTestBase.java:94)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WSCOMMONS-534) "prefix cannot be null or empty"
with SJSXP
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reassigned WSCOMMONS-534:
-----------------------------------------
Assignee: Andreas Veithen
> "prefix cannot be null or empty" with SJSXP
> -------------------------------------------
>
> Key: WSCOMMONS-534
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-534
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
>
> The test case SOAP11EnvelopeTestBase#testDiscardHeader should actually be included in SOAPEnvelopeTestBase because it applies equally well to SOAP 1.1 and 1.2. However, doing this causes a test failure in axiom-parser-tests with SJSXP:
> testDiscardHeader(org.apache.axiom.soap.impl.llom.SOAP12EnvelopeTest) Time elapsed: 0.005 sec <<< ERROR!
> javax.xml.stream.XMLStreamException: prefix cannot be null or empty
> at com.sun.xml.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:630)
> at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.writeAttribute(XMLStreamWriterWrapper.java:79)
> at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:221)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:445)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:161)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:108)
> at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:77)
> at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:554)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:975)
> at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
> at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:117)
> at org.apache.axiom.om.impl.llom.OMElementImpl.toStringWithConsume(OMElementImpl.java:1075)
> at org.apache.axiom.soap.SOAPEnvelopeTestBase.testDiscardHeader(SOAPEnvelopeTestBase.java:94)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.