Added one-line fix to prevent null-pointer error. Simple code cleanup.
PR:		n/a
Obtained from:	suggestion by Guoliang Cao <cao@ispsoft.com>
Submitted by:	cao@ispsoft.com
Reviewed by:	morten@xml.apache.org

diff --git a/src/org/apache/xalan/xsltc/compiler/LiteralElement.java b/src/org/apache/xalan/xsltc/compiler/LiteralElement.java
index afdfc06..e098b92 100644
--- a/src/org/apache/xalan/xsltc/compiler/LiteralElement.java
+++ b/src/org/apache/xalan/xsltc/compiler/LiteralElement.java
@@ -273,6 +273,7 @@
 	for (int i = 0; i < count; i++) {
 
 	    final QName qname = parser.getQName(_attributes.getQName(i));
+	    final String uri = qname.getNamespace();
 	    final String val = _attributes.getValue(i);
 
 	    // Handle xsl:use-attribute-sets. Attribute sets are placed first
@@ -282,8 +283,8 @@
 		setFirstAttribute(new UseAttributeSets(val, parser));
 	    }
 	    // Ignore all other attributes in XSL namespace
-	    else if (qname.getNamespace().equals(XSLT_URI)) {
-
+	    else if ((uri != null) && (uri.equals(XSLT_URI))) {
+		
 	    }
 	    // Handle xsl:extension-element-prefixes
 	    else if (qname == parser.getExtensionElementPrefixes()) {