I often caution people against relying too heavily on schema validation. “After all,” I say, “there is lots of obvious run-time checking that schemas can’t do, for example, verifying a part number.” It turns out I was wrong; with a little extra work, you can wire in part-number validation—or pretty well anything else—to RelaxNG. Elliotte Rusty Harold explains how. Further evidence, if any were required, that RelaxNG is the world’s best schema language, and that anyone who who’s using XML but not RelaxNG should be nervous.


ongoing
software · G & M · Dad author · colophon · rights
picture of the day
Around November 24, 2004: People Are Not Design Elements · F.C. · On Search: Sorting Result Lists · The Future · It’s Just Messages

What?
· Technology (61 fragments)
· · XML (114 more)


Serif · Sans-Serif
I work at Sun Microsystems. The opinions expressed here are my own, and neither Sun nor any other party necessarily agrees with them.