This page is no longer maintained — Please continue to the home page at www.scala-lang.org

XML Validation

No replies
Tobias Neumann
Joined: 2009-10-13,
User offline. Last seen 42 years 45 weeks ago.

Hi,

as already discussed in prior post, XML.load() processes the DTD if a
DOCTYPE is present, but obviously ignores errors. Is it possible to
change this behaviour to get the XML document validated? Using the
ConstructingParser leads to the same result, since it is non-validating,
and implementing a "ConstructingValidatingParser" using the
ValidatingMarkupHandler causes problems, as I see in a prior post.

Can anybody clarify the current status of XML validation in scala xml?

Regards,
Tobias

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland