1 Apr 2002 01:36
Re: Bug in DTD?
Brett Sealey <bretts <at> mortbay.org>
2002-03-31 23:36:13 GMT
2002-03-31 23:36:13 GMT
Miro, just to let you know that on Saturday I checked in an updated DTD that fixed this. If you are keen you can try it otherwise just wait until the next point release. Brett On Wed, 27 Mar 2002, Brett Sealey wrote: > I think you are right, I'll look into it this weekend - i.e. as soon as I > have some time. > > In the meantime you might want to temporarily use: > JAVA_OPTIONS='-Dorg.mortbay.xml.XmlParser.NotValidating=true' ./bin/jetty.sh run demo admin > > Cheers, > Brett > > On Wed, 27 Mar 2002, Halas, Miroslav wrote: > > > I think the bug is in DTD, when you look at definition of set > > > > <!ELEMENT Set ( %VALUE; )* > > > <!ATTLIST Set %NAMEATTR; %TYPEATTR; > > > > > it doesn't allow you to specify class. > > > > Miro Halas(Continue reading)
> I suggest that the XML configurator calls static methods only if they have the
> exact declaring class,
> see the attached fix.
>
> Background: For instance methods, java.lang.Class.getMethods() lists only the
> most detailed method;
> for static methods, it also lists all methods of all superclasses.
>
> Best,
>
> Jochen
>
RSS Feed