logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Ensuring well-formedness of XML document
Date Mon, 22 Nov 2004 13:45:39 GMT


Given the open-ended nature of log4j configuration files in log4j 1.3,
log4h configuration files do not have a DTD. However, assuming a
non-validating javax.xml.parsers.SAXParser, is there a way for an
application to make sure that an XML document is well-formed before
attempting to parse it?

I guess not since most SAX parsers seem to make only one pass through
the file...

Any suggestions or pointers would be highly appreciated.

Ceki Gülcü

  The complete log4j manual:  http://qos.ch/eclm
  Professional log4j support: http://qos.ch/log4jSupport  

View raw message