You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by zo...@apache.org on 2002/08/08 17:19:03 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output SAXHTMLOutput.java
zongaro 2002/08/08 08:19:03
Added: java/src/org/apache/xalan/xsltc/runtime/output Tag:
XSLTC_DTM SAXHTMLOutput.java
Log:
Set both the localName and QName of an attribute in _attributes - this avoid problems for namespace aware processing of the SAX events further downstream.
Revision Changes Path
No revision
No revision
1.8.4.1 +3 -3 xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/SAXHTMLOutput.java
Index: SAXHTMLOutput.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/SAXHTMLOutput.java,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -u -r1.8 -r1.8.4.1
--- SAXHTMLOutput.java 19 Jun 2002 19:24:49 -0000 1.8
+++ SAXHTMLOutput.java 8 Aug 2002 15:19:03 -0000 1.8.4.1
@@ -160,11 +160,11 @@
}
if (index >= 0) {
- _attributes.setAttribute(index, EMPTYSTRING, EMPTYSTRING,
+ _attributes.setAttribute(index, EMPTYSTRING, localName,
name, "CDATA", value);
}
else {
- _attributes.addAttribute(EMPTYSTRING, EMPTYSTRING,
+ _attributes.addAttribute(EMPTYSTRING, localName,
name, "CDATA", value);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org