[ http://issues.apache.org/jira/browse/XALANJ-2118?page=comments#action_65056 ] Brian Minchau commented on XALANJ-2118: ---------------------------------------
Chris, just by chance someone had me looking into some DOM serialization performance issues. It was exactly this sort of extra processing that was causing 7% to 40% slowdown, dending on the testcase. I agree it is inconsistent. Probably the serializer should get its namespace information only from StartPrefixMapping() and not from any parsing of attribute name/values. I'm going to bring this up at the next Xalan-J committers meeting (held the first Tuesday of each month). Xerces is heading towards using the Xalan serializer. If the XMLReader implementation by Xerces has a bug that is hidden by this behavior in the Xalan serializer, I'll be talking to some Xerces folks, or opening a JIRA issue against them. > No namespace declarations for attributes > ---------------------------------------- > > Key: XALANJ-2118 > URL: http://issues.apache.org/jira/browse/XALANJ-2118 > Project: XalanJ2 > Type: Bug > Components: SAX > Versions: 2.6 > Environment: Win XP > Reporter: Chris Bitmead > Priority: Critical > > I'm using Xalan SAX to write OpenOffice.org documents, and these documents > sometimes use a namespace "fo" as in "fo:font-family", but it only uses this > namespace for attributes, not for tags and Xalan doesn't create the > appropriate namespace declaration for these attributes when writing the > document out with SAX. I have tried this with the xalan built into Java 1.5.0 > as well as tried the 2.6.0 xalan.jar dropped into the lib/endorsed directory > in Java 1.4.2, but both exhibit this behaviour. > This seems like a bug to me, is it? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
