Article:
  Understanding JAXB: Java Binding Customization
Subject:   Is JAXB fully XMLschema compliant
Date:   2003-12-13 02:15:29
From:   anonymous2
With Web Services Doc/Literal trend the industry is bound to write lots of Java code to consume XML-schema based documents.


Is JAXB Reeference Implementation fully compliant with XML schema ?


If not, which tool supports JAXB APIs and is fully compliant ?



Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Is JAXB fully XMLschema compliant
    2003-12-13 18:41:08  hashimisayed [View]

    1) The specification says that it only mandates support for a subset of the W3C Schema language.
    2) The only tool that comes to mind the maybe be fully compliant is XMLSpy.
    I am not sure if these types of tools can comply fully and still produce bindings that are somewhat useful. For example, one of the difficulties these tools run into at the start is to formulate an algorithm that can generate a java identifier name from an xml name. This tends to be a complicated problem because xml names are not as restrictive as java identifier names. That's just one example. In the end, they tend to reduce the problem space a bit by taking some short cuts here and there.