[ http://issues.apache.org/jira/browse/XALANJ-2118?page=comments#action_64813 ] Chris Bitmead commented on XALANJ-2118: ---------------------------------------
Hi, In my opinion, this is definitely an error, because I am just reading an OpenOffice.org file via SAX and piping it straight out to another file. In my program this is going straight from an XMLReader through to an XMLWriter without interference. My program does this with a lot of different XML schemas, and for me to put special startPrefixMapping calls in to special case every XML schema that I have to deal with, would be very ugly. The fact that Xalan knows to output namespaces for tags, but not attributes and so it works for most schemas, but not all, makes this look very much like a bug to me. > 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]
