neeraj      2003/10/31 01:45:31

  Modified:    java/src/org/apache/xerces/dom CoreDocumentImpl.java
                        ElementNSImpl.java
  Log:
  Fixing another bug. NullPointerException was thrown with following call.
  implementation.createDocument("http://xxx.xxx";, null,
  null);
  
  Also added additional checks:
  
  NAMESPACE_ERR:
  1.Raised if the qualifiedName is malformed,
  2. if the qualifiedName has a prefix and the namespaceURI is null,
  3. or if the qualifiedName is null and the namespaceURI is different from null,
  4. or if the qualifiedName has a prefix that is "xml" and the namespaceURI is
  different from " http://www.w3.org/XML/1998/namespace";
  
  Revision  Changes    Path
  1.45      +2413 -2412xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java
  
  
http://cvs.apache.org/viewcvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java.diff?r1=1.44&r2=1.45
  
  
  1.34      +80 -45    xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java
  
  
http://cvs.apache.org/viewcvs/xml-xerces/java/src/org/apache/xerces/dom/ElementNSImpl.java.diff?r1=1.33&r2=1.34
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to