IDL2XML converter

LUCIO PICOLLI lucio.piccoli at one2one.co.uk
Fri Mar 19 10:53:11 GMT 1999



> You'll have to provide a framework for that yourself, I'm afraid. XML
> has no concept of octet, long long, short, boolean, sequence and so
> on. It's still possible to use XML, but I think you'd have to go with
> a single DTD and do your own type/error checking. It's not as bad as
> it may sound, as you'd have to do that at some level anyway.

I was hoping that the XML-DATA/DCD schema might be useful here. I   
realised that it is still under submission to W3C.

>
> One thing you might look at is using the IDL to automatically produce
> stubs and skeletons that marshal and demarshal XML-RPC requests. I'm
> not sure if that's really necessary for the language you use, though.
> (Whichever language that may be. :)

If i understand you correctly, are thinking of generating stubs/skeltons   
from IDL into language specfic source that can then be used to parse XML   
requests? If so that is a interesting idea.

I am keen to extend the XML-RPC idea to generate a DTD from the IDL and   
use the XML parser to do the marshalling. What i have seen of XML-RPC   
there is no DTD defined for each post. Hence the doc cannot be validated.   
Having the DTD handling most of the marshalling via the validation seems   
to be getting something for nothing.

Is there anything obviously flawed in the above thought?

 -lucio

    

> --Lars M.
>
>
> xml-dev: A list for W3C XML Developers. To post,
mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on   
CD-ROM/ISBN
981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following   
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list