You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2007/05/25 22:17:49 UTC
svn commit: r541770 -
/xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java
Author: mrglavas
Date: Fri May 25 13:17:48 2007
New Revision: 541770
URL: http://svn.apache.org/viewvc?view=rev&rev=541770
Log:
Fixing an NPE.
Modified:
xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java
Modified: xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java?view=diff&rev=541770&r1=541769&r2=541770
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/dom/DOMNormalizer.java Fri May 25 13:17:48 2007
@@ -238,7 +238,7 @@
}
try {
if (schemaType == XMLGrammarDescription.XML_DTD) {
- processDTD(xmlVersion, schemaLocations[0]);
+ processDTD(xmlVersion, schemaLocations != null ? schemaLocations[0] : null);
}
Node kid, next;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org