[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-cvs
Subject: cvs commit: xml-xerces/java/src/org/apache/xerces/dom CoreDocumentImpl.java
From: elena () apache ! org
Date: 2003-07-30 19:39:22
[Download RAW message or body]
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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic