elena 2003/07/30 12:39:22 Modified: java/src/org/apache/xerces/dom CoreDocumentImpl.java Log: According to the latest spec, version can never be null Revision Changes Path 1.43 +2 -2 xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java Index: CoreDocumentImpl.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- CoreDocumentImpl.java 30 Jul 2003 10:30:35 -0000 1.42 +++ CoreDocumentImpl.java 30 Jul 2003 19:39:22 -0000 1.43 @@ -816,7 +816,7 @@ * The version of this document (part of XML Declaration) */ public String getXmlVersion() { - return version; + return (version == null)?"1.0":version; } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]