You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2003/10/21 19:44:08 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom CoreDocumentImpl.java
elena 2003/10/21 10:44:08
Modified: java/src/org/apache/xerces/dom CoreDocumentImpl.java
Log:
Remove redundant check for XML 1.0 well-formness (the check is now done in ElementNSImpl)
Revision Changes Path
1.44 +1 -5 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.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- CoreDocumentImpl.java 30 Jul 2003 19:39:22 -0000 1.43
+++ CoreDocumentImpl.java 21 Oct 2003 17:44:07 -0000 1.44
@@ -1831,10 +1831,6 @@
public Element createElementNS(String namespaceURI, String qualifiedName)
throws DOMException
{
- if (errorChecking && !isXMLName(qualifiedName)) {
- String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "INVALID_CHARACTER_ERR", null);
- throw new DOMException(DOMException.INVALID_CHARACTER_ERR, msg);
- }
return new ElementNSImpl(this, namespaceURI, qualifiedName);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org