Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-147

XSDSchema to Java comprehensive test collection

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0Beta
    • None
    • tools-jaxrpc
    • None

      Typically a WS client consumes a remote WSDL that either contains or points to an XSD Schema document.

      Create a set of standalone XSD files that use a comprehensive set of XSD features. Each XSD should demonstrate the use of a particular XSD feature.

      Here is an arbirary (probably incomplete) list of requred features:

      • anonymous types
      • xsd import
      • simpleType with restriction
      • xsd:annotation with documentation
      • attribute ref
      • element ref
      • full set of xsd types
      • complexTypes with simpleContent
      • complexType inheritance
      • nillable
      • minOccurs, maxOccurs

      Check the XSDPrimer for additional features that we will have to support. The primer contains tons of examples and valid XSD documents, which will probably form a comprehensive input set

      http://www.w3.org/TR/xmlschema-0/

      Each XSD provides the input for a JUnit test. Use wscompile to transform the test XSDs to Java objects, which then become the test fixture.

          There are no Sub-Tasks for this issue.

              anil.saldhana Anil Saldanha (Inactive)
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: