On Dec 20, 2004, at 8:48 AM, Ceki Gülcü wrote:



I still owe the list an iteration on an XML schema for the http://logging.apache.org namespace. I assume that I should file a bug report on this when ready. Any suggestions on the appropriate location in the hierarchy? I think docs/logging.xsd would probably be best.

How about 'http://logging.apache.org/dtd/configuration.xsd' ?

Sorry, I was suggesting a location in the CVS, not a URL to locate the schema or a namespace URI for the schema. However, it would probably be good to pick all three. My suggestions would be:


Namespace: http://logging.apache.org
Location: http://logging.apache.org/configuration.xsd
CVS location: docs/configuration.xsd



The existing log4j.dtd is in a couple of places (tests, src/java/org/apache/log4j/xml), none of which is ideal.

tests/?

AFAIK, log4j.dtd can only be found in src/java/org/apache/log4j/xml.

I did a search on my workspace and I thought I saw it appear in multiple places. I was either mistaken or it got copied during the build process.




and if it were to be closest to the code that implements it it would be org/apache/log4j/joran.

The location can be worked out later.

Keep in mind that while the XML schema will help prevent and spot
errors, it should not prevent users from introducing new rules or
stand in the way of with implicit actions (sub-component
configuration.)


When I commit it, I'll need a CVS location. Since it is not really part of the code base, but a documentation of an input format, I'd likely put it under the doc tree. With an appropriate style declaration, it could be even viewed in most browsers. Where it fits on the http://logging.apache.org web site could be determined later.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to