You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ru...@us.ibm.com on 2000/05/31 21:58:32 UTC

Plans for Xerces beyond 1.0.3?


What are the plans to step up to a release of Xerces after 1.0.3?
Apparently in Xerces 1.0.4, the Attributes.getRawName method was renamed.
When compiling against a later Xerces, I get the following errors:

   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DocumentHandlerWrapper.java:139:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.

   a.getRawName(x),
                                                                         ^
   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DOMBuilder.java:255:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.
               String araw=a.getRawName(x);
                                       ^
   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/filters/LogFilter.java:155:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.
                    +",raw="+a.getRawName(i)
                                         ^
   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/sitemap/LinkTranslator.java:136:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.

   a2.addAttribute(a.getURI(x),a.getLocalName(x),a.getRawName(x),
   ^
   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/HTMLSerializer.java:104:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.
               String
   name=this.ns.resolve(a.getURI(x),a.getRawName(x),null,
                                                                   ^
   /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/XMLSerializer.java:113:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.
               this.print(this.ns.resolve(a.getURI(x),a.getRawName(x),null,
                                                                  ^
   /home/rubys/xml-cocoon/build/src/org/apache/arch/config/SAXConfigurationBuilder.java:130:

   Method getRawName(int) not found in interface org.xml.sax.Attributes.
               String
   aname=resolve(a.getURI(x),a.getLocalName(x),a.getRawName(x));

Also, would anybody object to me making the usage of javascript, jstyle,
and svg conditional based on their presence in the class path?

- Sam Ruby



Re: Plans for Xerces beyond 1.0.3?

Posted by Mike Pogue <mp...@apache.org>.
FYI -- I believe that the SAX guys made that name change between SAX2 
Beta 2 and SAX2 Final, so you can thank them for the change....

The Xerces-J version number should have been bumped to indicate
the API change (it wasn't, by accident -- sorry!).

Mike

David Duddleston wrote:
> 
> Ya, what is the deal with that. I installed xerces 1.0.4 into VAJ and it broke just about every thing in C2, Tomcat and others. The getRawName being instantly changed to getQName is a real thorn. I would think that there would be some backwards compatiblity.
> 
> -david
> 
> > -----Original Message-----
> > From: Berin Loritsch [mailto:bloritsch@infoplanning.com]
> > Sent: Wednesday, May 31, 2000 1:28 PM
> > To: cocoon-dev@xml.apache.org
> > Subject: Re: Plans for Xerces beyond 1.0.3?
> >
> >
> > I vote -1 until Xalan has an official release that supports Xerces 1.0.4.
> > A couple of weeks ago, there was a thread in the Xalan-dev list that
> > basically acknowledged that the current release doesn't support
> > Xerces 1.0.4.
> >
> > rubys@us.ibm.com wrote:
> >
> > > What are the plans to step up to a release of Xerces after 1.0.3?
> > > Apparently in Xerces 1.0.4, the Attributes.getRawName method
> > was renamed.
> > > When compiling against a later Xerces, I get the following errors:
> > >
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/Docume
> ntHandlerWrapper.java:139:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >
> > >    a.getRawName(x),
> > >
> >          ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DOMBui
> lder.java:255:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >                String araw=a.getRawName(x);
> > >                                        ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/filters/LogFilt
> > er.java:155:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >                     +",raw="+a.getRawName(i)
> > >                                          ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/sitemap/LinkTra
> nslator.java:136:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >
> > >    a2.addAttribute(a.getURI(x),a.getLocalName(x),a.getRawName(x),
> > >    ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/HTM
> LSerializer.java:104:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >                String
> > >    name=this.ns.resolve(a.getURI(x),a.getRawName(x),null,
> > >                                                                    ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/XML
> Serializer.java:113:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >
> > this.print(this.ns.resolve(a.getURI(x),a.getRawName(x),null,
> > >                                                                   ^
> > >
> > /home/rubys/xml-cocoon/build/src/org/apache/arch/config/SAXConfigu
> rationBuilder.java:130:
> > >
> > >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> > >                String
> > >    aname=resolve(a.getURI(x),a.getLocalName(x),a.getRawName(x));
> > >
> > > Also, would anybody object to me making the usage of javascript, jstyle,
> > > and svg conditional based on their presence in the class path?
> > >
> > > - Sam Ruby
> >

RE: Plans for Xerces beyond 1.0.3?

Posted by David Duddleston <da...@i2a.com>.
Ya, what is the deal with that. I installed xerces 1.0.4 into VAJ and it broke just about every thing in C2, Tomcat and others. The getRawName being instantly changed to getQName is a real thorn. I would think that there would be some backwards compatiblity. 

-david

> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@infoplanning.com]
> Sent: Wednesday, May 31, 2000 1:28 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Plans for Xerces beyond 1.0.3?
> 
> 
> I vote -1 until Xalan has an official release that supports Xerces 1.0.4.
> A couple of weeks ago, there was a thread in the Xalan-dev list that
> basically acknowledged that the current release doesn't support 
> Xerces 1.0.4.
> 
> rubys@us.ibm.com wrote:
> 
> > What are the plans to step up to a release of Xerces after 1.0.3?
> > Apparently in Xerces 1.0.4, the Attributes.getRawName method 
> was renamed.
> > When compiling against a later Xerces, I get the following errors:
> >
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/Docume
ntHandlerWrapper.java:139:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >
> >    a.getRawName(x),
> >                                                                 
>          ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DOMBui
lder.java:255:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >                String araw=a.getRawName(x);
> >                                        ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/filters/LogFilt
> er.java:155:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >                     +",raw="+a.getRawName(i)
> >                                          ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/sitemap/LinkTra
nslator.java:136:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >
> >    a2.addAttribute(a.getURI(x),a.getLocalName(x),a.getRawName(x),
> >    ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/HTM
LSerializer.java:104:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >                String
> >    name=this.ns.resolve(a.getURI(x),a.getRawName(x),null,
> >                                                                    ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/XML
Serializer.java:113:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >                
> this.print(this.ns.resolve(a.getURI(x),a.getRawName(x),null,
> >                                                                   ^
> >    
> /home/rubys/xml-cocoon/build/src/org/apache/arch/config/SAXConfigu
rationBuilder.java:130:
> >
> >    Method getRawName(int) not found in interface org.xml.sax.Attributes.
> >                String
> >    aname=resolve(a.getURI(x),a.getLocalName(x),a.getRawName(x));
> >
> > Also, would anybody object to me making the usage of javascript, jstyle,
> > and svg conditional based on their presence in the class path?
> >
> > - Sam Ruby
> 


Re: Plans for Xerces beyond 1.0.3?

Posted by Berin Loritsch <bl...@infoplanning.com>.
I vote -1 until Xalan has an official release that supports Xerces 1.0.4.
A couple of weeks ago, there was a thread in the Xalan-dev list that
basically acknowledged that the current release doesn't support Xerces 1.0.4.

rubys@us.ibm.com wrote:

> What are the plans to step up to a release of Xerces after 1.0.3?
> Apparently in Xerces 1.0.4, the Attributes.getRawName method was renamed.
> When compiling against a later Xerces, I get the following errors:
>
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DocumentHandlerWrapper.java:139:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>
>    a.getRawName(x),
>                                                                          ^
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/xml/util/DOMBuilder.java:255:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>                String araw=a.getRawName(x);
>                                        ^
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/filters/LogFilter.java:155:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>                     +",raw="+a.getRawName(i)
>                                          ^
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/sitemap/LinkTranslator.java:136:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>
>    a2.addAttribute(a.getURI(x),a.getLocalName(x),a.getRawName(x),
>    ^
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/HTMLSerializer.java:104:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>                String
>    name=this.ns.resolve(a.getURI(x),a.getRawName(x),null,
>                                                                    ^
>    /home/rubys/xml-cocoon/build/src/org/apache/cocoon/serializers/XMLSerializer.java:113:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>                this.print(this.ns.resolve(a.getURI(x),a.getRawName(x),null,
>                                                                   ^
>    /home/rubys/xml-cocoon/build/src/org/apache/arch/config/SAXConfigurationBuilder.java:130:
>
>    Method getRawName(int) not found in interface org.xml.sax.Attributes.
>                String
>    aname=resolve(a.getURI(x),a.getLocalName(x),a.getRawName(x));
>
> Also, would anybody object to me making the usage of javascript, jstyle,
> and svg conditional based on their presence in the class path?
>
> - Sam Ruby