You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Eran Chinthaka (JIRA)" <ji...@apache.org> on 2005/08/03 07:08:36 UTC
[jira] Created: (AXIS2-118) OMDocument must have XML Version and Char encoding
OMDocument must have XML Version and Char encoding
--------------------------------------------------
Key: AXIS2-118
URL: http://issues.apache.org/jira/browse/AXIS2-118
Project: Apache Axis 2.0 (Axis2)
Type: Improvement
Components: om
Reporter: Eran Chinthaka
Assigned to: Ruchith Udayanga Fernando
Priority: Minor
OMDocument must contain information regarding the XML Version and Character encoding. And those should be present when serialized.
There should be a flag to set this on and off when serializing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS2-118) OMDocument must have XML Version and Char encoding
Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-118?page=all ]
Ruchith Udayanga Fernando resolved AXIS2-118:
---------------------------------------------
Resolution: Fixed
Introduced OMDocument interface and OMDocumentImpl implements OMDocument.
Introduced methods to serialize an OMDocument with or without the XML declaration
> OMDocument must have XML Version and Char encoding
> --------------------------------------------------
>
> Key: AXIS2-118
> URL: http://issues.apache.org/jira/browse/AXIS2-118
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: om
> Reporter: Eran Chinthaka
> Assignee: Ruchith Udayanga Fernando
> Priority: Minor
>
> OMDocument must contain information regarding the XML Version and Character encoding. And those should be present when serialized.
> There should be a flag to set this on and off when serializing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-118) OMDocument must have XML Version and Char encoding
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-118?page=comments#action_12317629 ]
Davanum Srinivas commented on AXIS2-118:
----------------------------------------
+1 from me.
> OMDocument must have XML Version and Char encoding
> --------------------------------------------------
>
> Key: AXIS2-118
> URL: http://issues.apache.org/jira/browse/AXIS2-118
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: om
> Reporter: Eran Chinthaka
> Assignee: Ruchith Udayanga Fernando
> Priority: Minor
>
> OMDocument must contain information regarding the XML Version and Character encoding. And those should be present when serialized.
> There should be a flag to set this on and off when serializing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (AXIS2-118) OMDocument must have XML Version and Char encoding
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-118?page=all ]
Eran Chinthaka updated AXIS2-118:
---------------------------------
Fix Version: 0.91
> OMDocument must have XML Version and Char encoding
> --------------------------------------------------
>
> Key: AXIS2-118
> URL: http://issues.apache.org/jira/browse/AXIS2-118
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: om
> Reporter: Eran Chinthaka
> Assignee: Ruchith Udayanga Fernando
> Priority: Minor
> Fix For: 0.91
>
> OMDocument must contain information regarding the XML Version and Character encoding. And those should be present when serialized.
> There should be a flag to set this on and off when serializing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS2-118) OMDocument must have XML Version and Char encoding
Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-118?page=comments#action_12317595 ]
Ruchith Udayanga Fernando commented on AXIS2-118:
-------------------------------------------------
This is what I planed to do to add XML version and chaset encoding to the OMDocument
- Create an interface org.apache.axis2.om.OMDocument
Methods:
public OMElement getDocumentElement()
public void setDocumentElement(OMElement rootElement)
public String getXMLVersion()
public void setXMLVersion(String version)
public String getCharsetEncoding()
public void setCharsetEncoding(String charsetEncoding)
public void serialize(OMOutputImpl omOutput, boolean cache) throws XMLStreamException
public void serialize(OMOutputImpl omOutput, boolean cache, boolean includeXMLDeclaration) throws XMLStreamException
- Rename org.apache.axis2.om.impl.llom.OMDocument to org.apache.axis2.om.impl.llom.OMDocumentImpl
- Rename get/setRootElement to get/setDocumentElement
- Introduce createOMDocument() to OMFactory and provide the impl in OMLinkedListImplFactory
What do u guys think?
> OMDocument must have XML Version and Char encoding
> --------------------------------------------------
>
> Key: AXIS2-118
> URL: http://issues.apache.org/jira/browse/AXIS2-118
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: om
> Reporter: Eran Chinthaka
> Assignee: Ruchith Udayanga Fernando
> Priority: Minor
>
> OMDocument must contain information regarding the XML Version and Character encoding. And those should be present when serialized.
> There should be a flag to set this on and off when serializing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira