Validating XML

Guys,

Just a quick question - inside the scala xml support is there anyway of
validating an xml file against a DTD or XSD? If not, does anyone know of a
parser / validate that works nicely with scala?

Cheers

Tim

Re: Validating XML

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.)

--j

On Tue, Jan 13, 2009 at 1:54 AM, Tim Perrett <hello [at] timperrett [dot] com> wrote:
Guys,

Just a quick question - inside the scala xml support is there anyway of
validating an xml file against a DTD or XSD? If not, does anyone know of a
parser / validate that works nicely with scala?

Cheers

Tim




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