Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

darobin (1316)

darobin
  (email not shown publicly)
http://berjon.com/

Journal of darobin (1316)

Wednesday August 28, 2002
04:46 AM

Topologi

[ #7360 ]

If you need to do work with schema stuff (RelaxNG, Schematron, or XML Schema. Oh, and DTDs but you don't want those of course) and you're running windows, I highly recommend trying out the Topologi Validator.

Currently, the only thing worse than the XML Schema specification is the XML Schema toolset. Almost all of the tools are terribly limited, buggy, incomprehensible, etc. (check all that apply) and while Topologi isn't really an exception in that it uses buggy MSXML underneath, it does manage to make a lot of that bearable.

Thankfully, Andy Wardley told me that his XML::Schema module should be out soon. I'm pretty certain that it'll make working with schemata a lot easier.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The only thing I'd like more than XML::Schema would be an XML::RelaxNG module...

    Sadly, I have no clue whatsoever as to how one would go about implementing such a thing. :-(

    -Dom

    • Yes, that's something I want. If I had more spre time, you'd have one from me but unfortunately that's not the case :(

      Implementing the basics shouldn't be too hard. You need a core automaton part that matches the functionality needed by RNG and has a public API. Then you need parsers for the various RNG syntaxes that build such automata. That part should be easy, the XML syntax just needs to be normalised using a number of rather simple rules, the shorthand syntax is easy to get. Then you need to b

      --

      -- Robin Berjon [berjon.com]

      • James Clark has published a very nice guide to Implementing RelaxNG [thaiopensource.com]. It would be a fantastic exercise for someone wanting to get into perl and XML hacking to go about implementing that.

        And if nobody does, eventually I'll get around to it too ;-)