File: XMLStreamPublisher.diff

package info (click to toggle)
lib-openxml-java 1.0.6.1-3
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,536 kB
  • ctags: 8
  • sloc: makefile: 67
file content (11 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- XMLStreamPublisher.java	Wed Oct 20 13:59:50 1999
+++ XMLStreamPublisher.java.old	Mon Nov 01 02:50:56 1999
@@ -122,7 +122,7 @@
         if ( publicId != null || systemId != null || internalDTD != null )
         {
             text.setLength( 0 );
-            text.append( "<!DOCTYPE " ).append( doc.getDocumentElement().getTagName() );
+            text.append( "<!DOCTYPE " ).append( docType.getNodeName() );
             if ( ! getFormat().isStandalone() )
             {
                 if ( publicId != null )