Hi Bao,

following up your last email about the schema classes, there's some
ideas how to go about things step by step.

I think it would be a good idea if you added your code fragments (that
demonstrate and investigate the completeness of the existing schema
classes) to e.g. the test case of the 'schema' module.

I have been talking to Joachim the other day, and we think that we could
come up with a base test case class that takes a Schema object instance,
writes it to a physical XML schema file (using SchemaWriter) and
compares it with a gold XML schema file.

Based upon this test case, you could create one test case after the
other and add them to src/test/java and src/test/resources of the schema
module.

In terms of proceeding on the complexity side of things, I'd start with
simple things such as adding one complex type, one global element
definition to an XML schema, and then take it from there. If you had a
look at the JAXB specification, you'll find plenty of references in
terms of what XML schema artefacts you will have to be able to produce
(and serialize).

Let me know whether this approach is fine for you, and whether you have
any additional thoughts.

Regards
Werner

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to