Since prefixes are considered "syntactic sugar", this is arguably legal; in a properly namespace-sensitive application it should have the right result. But not everything is fully namespace-aware (sigh) and I agree that this appears to be a typo.
______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html) Konrad Lanz <konrad.l...@iaik.tugraz.at> 06/02/2009 07:10 AM Please respond to j-users@xerces.apache.org To j-users@xerces.apache.org cc Subject Bug in Xerces 2.7.1 AbstractDOMParser.java line 1651 ? Dear Xerces Developers! org/apache/xerces/parsers/AbstractDOMParser.java line 1651 > ((Element)node).setAttributeNS ("http://www.w3.org/XML/1998/namespace","base", baseURI); There seems to be a copy paste error from line 1641: I doubt that "base" is a qualified name ! cf. http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Element.html#setAttributeNS(java.lang.String,%20java.lang.String,%20java.lang.String) Please fix line 1651: s/"base"/"xml:base"/ Thank You! Best Regards Konrad Lanz -- Konrad Lanz, IAIK/SIC - Graz University of Technology Inffeldgasse 16a, 8010 Graz, Austria Tel: +43 316 873 5547 Fax: +43 316 873 5520 http://www.iaik.tugraz.at/content/about_iaik/people/lanz_konrad/ http://jce.iaik.tugraz.at/sic/products/xml_security/ Downlaod certificate chain (including the EuroPKI root certificate): http://ca.iaik.tugraz.at/capso/certs.jsp
Konrad_Lanz.vcf
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org