- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Validating XML
Tue, 2009-01-13, 23:19
I looked briefly and found no obvious hooks.
--j
On Jan 13, 2009, at 2:13 PM, "Thomas Sant Ana" <mailleux@gmail.com> wrote:
--j
On Jan 13, 2009, at 2:13 PM, "Thomas Sant Ana" <mailleux@gmail.com> wrote:
On Tue, Jan 13, 2009 at 4:50 PM, Jorge Ortiz < (jorge [dot] ortiz [at] gmail [dot] com> wrote:I believe if your XML has a DOCTYPE then Scala will automatically validate against the DTD.
(Or, at least, I've had issues with Scala not finding the DTD where it expected it and blowing up in my face.)
With validation off it will process DTD information, but will ignore errors. I tested on scala 2.7.2.final. I wonder if the underlying SAX implementation can be controlled globally.
Thomas
.