We provide an XSLT stylesheet to detect patterns in XML Schemas and WSDL documents. We plan to make the pattern detection service available as an online service, and also allow patterns to be detected using an executable java jar available for download here.
The online service is not available yet, but watch this space.
You can detect schema patterns as follows
Example
java -jar ../lib/saxon8.jar -novw -o results.html http://soap.amazon.com/schemas2/AmazonWebServices.wsdl annotated_results.xsl |
produces this page AmazonWebServices.wsdl patterns detected. |
We are also currently undertaking a survey of schemas in the wild, which we will publish here soon.
The pattern detection facility makes use of Saxon, copyright © Michael Kay Saxonica
Unless otherwise stated, all test cases, documents and supporting code are copyright © W3C and are licensed for use under the W3C Document License.
Copyright © 2004-2005 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.