classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug report (Re: [Classpathx-xml] Merging GNU JAXP into kaffe)


From: Ito Kazumitsu
Subject: Re: Bug report (Re: [Classpathx-xml] Merging GNU JAXP into kaffe)
Date: Fri, 6 Dec 2002 22:02:59 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222) MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)

In message "Re: Bug report (Re: [Classpathx-xml] Merging GNU JAXP into kaffe)"
    on 02/12/05, David Brownell <address@hidden> writes:

> No, that code is right ... did you have a chance
> yet to try that patch I sent?  The problem would be
> that there's one use of that bind() call in a place
> where its potential side effect shouldn't be visible;
> the fix is to prevent that.

In order to prevent such side effects, ...

>       // connect pipeline and error handler
> +     // don't let _this_ call to bind() affect xmlns* attributes
> +     nsdecls = aelfred2.getFeature (
> +         SAXDriver.FEATURE + "namespace-prefixes");
>       EventFilter.bind (aelfred2, next);
> +     if (!nsdecls)
> +         aelfred2.setFeature (
> +             SAXDriver.FEATURE + "namespace-prefixes",
> +             true);
                ^^^^
                I think this should be false.

Having changed this "true" to "false",  I now get satisfactory results.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]