# XML Schema Validation

**URL:** <https://www.ruby-forum.com/t/xml-schema-validation/90453>\
**Category:** Ruby\
**Created:** [March 28, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/xml-schema-validation/90453 "2007-03-28T22:59:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eng](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/3ec8ea/32.png) [@eng](https://www.ruby-forum.com/u/eng)\
**Post date:** [March 28, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/xml-schema-validation/90453/1 "2007-03-28T22:59:36Z")

</div>

Can someone tell me if there is a way to do XML Schema validation in  
Ruby? (without having to translate xerces-ruby from Japanese) I’ve  
searched around the net and nothing has come up.

- Brian

---

<div class="post-metadata">

**Author:** ![eng](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/3ec8ea/32.png) [@eng](https://www.ruby-forum.com/u/eng)\
**Post date:** [March 28, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/xml-schema-validation/90453/2 "2007-03-28T23:34:41Z")

</div>

On 3/28/07, Brian E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Can someone tell me if there is a way to do XML Schema validation in  
> Ruby? (without having to translate xerces-ruby from Japanese) I’ve  
> searched around the net and nothing has come up.

With JRuby I’m currently using JAXB to marshal a content tree valid to a  
bound schema. (Some Ruby sugar is making it much nicer to work with.)
