Mike, very useful patch. I was thinking of fixing that issue myself some time. Thanks!
There's one snag though: when converting byte arrays to strings, you assume the byte arrays are in UTF-8, which would have been an intelligent choice. However, they are not (for the moment), but are encoded in the "Platform default charcater encoding" as Java documentation calls it (aka iso-8859-1 here in Western Europe). You'll need to use that in your code for the moment (i.e. not mention a character encoding). A patch I submitted converts the whole of Xindice over to using UTF-8 byte arrays internally, but that wan't be used until version 1.1... Shall I make make the change and commit the patch, guys? > -----Original Message----- > From: Mike Gratton [mailto:[EMAIL PROTECTED] > Sent: 02 March 2002 09:03 > To: xindice-dev > Subject: SAXGenerator not generating prefix mapping events + patch > > > > Hi guys, > > At the moment, SAXGenerator isn't generating startPrefixMapping() and > endPrefixMapping() events on instances of ContentHandler. This causes > Xalan 2.3.0 and higher to crash when parsing XSLT that > contains markup > in other non-default namespaces. > > The attached patch fixes this. Can someone please review the > patch and > commit it. > > Thanks! > Mike. > > -- > Mike Gratton <[EMAIL PROTECTED]>, <http://web.vee.net/> > "Every motive escalate."e
