Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: The XML Schema compiler

From: robert:muench:robertmuench at: 9-Nov-2002 12:39

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of Maarten Koopmans > Sent: Friday, November 08, 2002 8:56 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] The XML Schema compiler > The XML Schema compiler, XSDC. > > xsdc compiles a XML schema definition to a Rebol parse > definition that knows how to compile and validate documents > for the specified xsd.
Hi, nice idea :-)).
> The output parser is thus much faster than a generic XML > parser. xsdc speeds up the implementation of formats in > XML/XSD unbelievable! You can implement XML based formats in > hours where it would have taken days or weeks in traditional > languages like Perl, Java, or C/C#/C++.
I haven't thought about how to do it (yet) but my feelings are that this should quite be possible. XML parsing isn't that hard, and the XSD stuff is mostly a grammar describing the structural variances an XML can have.
> The programmer itself can provide handler based functions, > just like in a SAX based XML parser, to handle specific tags > with their content and attributes.
This will be the easiest part :-).
> Now, that is our killer application. Where can I download it?
:-) From my brain? ;-)) Robert