One of my collegues said he downloaded Xalan 2, so I
am assuming this is where he found it:
http://xml.apache.org/xalan-j/index.html
He is doing some complicated XSL and Xerces2 came with
Xalan2.
Ross
--- "Johnson, Clay" <[EMAIL PROTECTED]> wrote:
> Sorry. I was seeing the log4j:configuration element
> warning, and it was
> corrected in the 1.1.3 dtd. That fact that you're
> seeing warnings for
> everything suggests something more systemic than a
> less than perfect dtd.
>
> BTW, I'm using xerces 1.4.0. What's xerces2?
>
> > -----Original Message-----
> > From: Ross Cormier [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 29, 2001 10:59 AM
> > To: LOG4J Users Mailing List
> > Subject: RE: Validation with DOMConfigurator
> >
> >
> > I was using 1.1 and I downloaded 1.1.3, but the
> > problem persists.
> >
> > Ross
> >
> > --- "Johnson, Clay" <[EMAIL PROTECTED]>
> wrote:
> > > The 1.1.3 version of the lo4j.dtd fixed some
> > > problems.
> > >
> > > > -----Original Message-----
> > > > From: Ross Cormier
> [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, June 28, 2001 9:37 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Validation with DOMConfigurator
> > > >
> > > >
> > > > I am using xerces2 and I get the following
> message
> > > > when starting.
> > > >
> > > > Warning: validation was turned on but an
> > > > org.xml.sax.ErrorHandler was not
> > > > set, which is probably not what is desired.
> > > Parser
> > > > will use a default
> > > > ErrorHandler to print the first 10 errors.
> Please
> > > > call
> > > > the 'setErrorHandler' method to fix this.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=61: Element type "log4j:configuration"
> must
> > > be
> > > > declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=66: Element type "appender" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=67: Element type "layout" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=68: Element type "param" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=73: Element type "appender" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=74: Element type "layout" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=76: Element type "param" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=77: Element type "param" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=80: Element type "filter" must be
> declared.
> > > > Error:
> > > >
> > >
> >
>
URI=jar:file:/Z:/new/build/dist/lib/both/log4j.jar!/org/apache
> > > > /log4j/xml/log4j.dtd
> > > > Line=81: Element type "param" must be
> declared.
> > > >
> > > > Would it be possible to allow validation to be
> > > > disabled in the DOMConfigurator? I have
> > > subclassed it
> > > > and disabled validation with no ill effects,
> and I
> > > am
> > > > using the ref construct in my xml
> configuration.
> > > I am
> > > > not sure what is meant by the ID/IDREF comment
> > > shown
> > > > below.
> > > >
> > > > Here is some code:
> > > > DOMCongiruator.java:611
> > > > // This makes ID/IDREF attributes to have a
> > > meaning.
> > > > Don't ask
> > > > // me why.
> > > > dbf.setValidating(true);
> > > >
> > > > Here is a snippet from my xml configuration:
> > > > <appender name="ASYNC"
> > > > class="org.apache.log4j.AsyncAppender">
> > > > <appender-ref ref="CONSOLE"/>
> > > > <appender-ref ref="LOG_FILE"/>
> > > > <appender-ref ref="TIME_FILE"/>
> > > > <appender-ref ref="AUDIT_FILE"/>
> > > > <appender-ref ref="SQL_FILE"/>
> > > > </appender>
> > > >
> > > > Thanks,
> > > > Ross Cormier
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Get personalized email addresses from Yahoo!
> Mail
> > > > http://personal.mail.yahoo.com/
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]