<!-- Log Service. -->
  <!ELEMENT log-service (property*)>
   <!ATTLIST log-service classname
(org.apache.click.service.ConsoleLogService|
org.apache.click.extras.service.Log4JService|
org.apache.click.extras.service.JdkLogService)
"org.apache.click.service.ConsoleLogService">


This does the trick for me.

Cheers, 

WarnerJan


On Tue, 2009-06-30 at 09:41 +1000, Malcolm Edgar wrote:

> Yeah I think we should fix the DTD.  I will have to look into what the
> correct element is.
> 
> regards Malcolm Edgar
> 
> On Tue, Jun 30, 2009 at 5:11 AM, Bob Schellink<sab...@gmail.com> wrote:
> > WarnerJan Veldhuis wrote:
> >>
> >> Hello,
> >>
> >> Two things that I want to mention about Log4JLogService:
> >>
> >> 1) The click.dtd says the value for element log-service, attribute
> >> classname is fixed, which it's not. Side effect: it makes my IntelliJ XML
> >> parser complain about illegal xml :)
> >
> >
> > Do you think we should replace fixed with something else or simply omit it?
> > I'm not really familiar with DTD's so don't know what is the best way to
> > resolve this one.
> >
> > bob
> >

Reply via email to