6 Dec 2007 00:01
Re: Re: rnc schema for wsdl
Florent Georges <darkman_spam <at> yahoo.fr>
2007-12-05 23:01:04 GMT
2007-12-05 23:01:04 GMT
"aaditya.sood" wrote:
Hi
> Has anyone had any luck with a RNG/RNC for WSDL?
You can find enclosed what I did once. This is for WSDL 1.1. I
think I got the 4 schemas from W3C. I created wsdl11-all.xsd that
imports the 4 original schemas. I then use (see Makefile) rngconv to
get an RNG file. I apply a simple XSLT stylesheet to fix a little bug
(in rngconv, trang or nXML, I don't know) as well as to plug the RNG
for WXS. Then I finally use Trang to get the RNC.
My schemas repository is looking like:
~/.emacs.d/nxml-schemas> find xmlschema.rnc wsdl11
xmlschema.rnc
wsdl11/Makefile
wsdl11/wsdl11-all-process-rng.xsl
wsdl11/wsdl11-all.rnc
wsdl11/wsdl11-all.rng
wsdl11/wsdl11-all.xsd
wsdl11/wsdl11-http.xsd
wsdl11/wsdl11-mime.xsd
wsdl11/wsdl11-soap.xsd
wsdl11/wsdl11.xsd
You then just need to plug wsdl11/wsdl11-all.rnc in your schemas.xml
file and you'll get validation for WSDL elements as well as embedded
WXS elements.
Comments welcome.
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:emacs-nxml-mode-digest <at> yahoogroups.com
mailto:emacs-nxml-mode-fullfeatured <at> yahoogroups.com
<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe <at> yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
RSS Feed