XML library with validation


#1

Hi,

I’m looking for a library that can validate xml against a dtd or
schema. Anyone have any recommendations?

Thank you,
Matt


#2

On Jun 1, 11:46 pm, goodieboy removed_email_address@domain.invalid wrote:

Hi,

I’m looking for a library that can validate xml against a dtd or
schema. Anyone have any recommendations?

Thank you,
Matt

I’m not sure of this, but I think existing Ruby XML libraries don’t
support validation - yet. (This is based on my recollection of
something I read in the book “Enterprise Integration with Ruby” -
publishers: The Pragmatic Bookshelf). If anyone has any different
info, I’d like to hear it myself, as I could use the feature. That
book also shows how to use xmllint from Ruby, though, which may or may
not meet your needs, but can be of help in general.

Vasudev Ram
http://www.dancingbison.com