DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4369>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4369 xmlns: attributes disallowed making Ant uncompliant with XML Summary: xmlns: attributes disallowed making Ant uncompliant with XML Product: Ant Version: 1.4.1 Platform: All OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Ant still retains the following code in org/apache/tools/ant/ProjectHelper.java around line 300. This means that generating build.xml documents with namespaces, often resulting in xmlns: namespace attributes, cause Ant to fail. The XML specification says that any attributes in the xmlns namespace should always be allowed. for (int i = 0; i < attrs.getLength(); i++) { String key = attrs.getName(i); String value = attrs.getValue(i); if (key.equals("default")) { def = value; } else if (key.equals("name")) { name = value; } else if (key.equals("id")) { id = value; } else if (key.equals("basedir")) { baseDir = value; } else { throw new SAXParseException("Unexpected attribute \"" + attrs.getName(i) + "\"", locator); } } Could the following case be added? :- } else if (!key.startsWith("xmlns:")) {
