Re: Re: rnc schema for wsdl
Florent Georges <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
"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:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Makefile
(application/octet-stream, 416 B) - not displayed
wsdl11.xsd
(application/octet-stream, 9.9 KB) - not displayed
wsdl11-all.xsd
(application/octet-stream, 580 B) - not displayed
wsdl11-all-process-rng.xsl
(application/octet-stream, 1.1 KB) - not displayed
wsdl11-http.xsd
(application/octet-stream, 890 B) - not displayed
wsdl11-mime.xsd
(application/octet-stream, 1.1 KB) - not displayed
wsdl11-soap.xsd
(application/octet-stream, 2.9 KB) - not displayed