axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayachan...@apache.org
Subject svn commit: r225280 - in /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom: OMCommentImpl.java OMDocTypeImpl.java OMProcessingInstructionImpl.java
Date Tue, 26 Jul 2005 11:56:19 GMT
Author: jayachandra
Date: Tue Jul 26 04:56:06 2005
New Revision: 225280

URL: http://svn.apache.org/viewcvs?rev=225280&view=rev
Log:
modified   OMCommentImpl.java
modified   OMDocTypeImpl.java
modified   OMProcessingInstructionImpl.java

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMCommentImpl.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMDocTypeImpl.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMCommentImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMCommentImpl.java?rev=225280&r1=225279&r2=225280&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMCommentImpl.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMCommentImpl.java
Tue Jul 26 04:56:06 2005
@@ -58,9 +58,7 @@
      */
     public void serializeWithCache(OMOutputImpl omOutput) throws XMLStreamException {
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
-        writer.writeCharacters("<!--");
-        writer.writeCharacters(this.value);
-        writer.writeCharacters("-->");
+        writer.writeComment(this.value);
         OMNode nextSibling = this.getNextSibling();
         if (nextSibling != null) {
             nextSibling.serializeWithCache(omOutput);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMDocTypeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMDocTypeImpl.java?rev=225280&r1=225279&r2=225280&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMDocTypeImpl.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMDocTypeImpl.java
Tue Jul 26 04:56:06 2005
@@ -58,7 +58,7 @@
      */
     public void serializeWithCache(OMOutputImpl omOutput) throws XMLStreamException {
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
-        writer.writeCharacters(this.value);
+        writer.writeDTD(this.value);
         OMNode nextSibling = this.getNextSibling();
         if (nextSibling != null) {
             nextSibling.serializeWithCache(omOutput);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java?rev=225280&r1=225279&r2=225280&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMProcessingInstructionImpl.java
Tue Jul 26 04:56:06 2005
@@ -60,11 +60,7 @@
      */
     public void serializeWithCache(org.apache.axis2.om.impl.OMOutputImpl omOutput) throws
XMLStreamException {
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
-        writer.writeCharacters("<?");
-        writer.writeCharacters(this.target);
-        writer.writeCharacters(" ");
-        writer.writeCharacters(this.value);
-        writer.writeCharacters("?>");
+        writer.writeProcessingInstruction(this.target+" ", this.value);
         OMNode nextSibling = this.getNextSibling();
         if (nextSibling != null) {
             nextSibling.serializeWithCache(omOutput);



Mime
View raw message