Hi all. I've been trying out JaxMe (0.5) as an alternative JAXB implementation that doesn't make me depend on the whole JWSDP bundle.
I'm stuck with some issues, where i'm hoping you can help me. I'm generating java sources by calling the xjc ant target and giving it a XSD file. Goal is build XML documents using the generated Java objects. Here goes nothing... * Enumerations There seems to be no proper mapping made for Simple Types with xsd:enumeration restrictions. All i get is a basic get/set method that retrieves and takes a string, respectively. This is not very useful. I've tried something similar while generating stubs from WSDL files using Axis, and got nice classes mapping to the enumeration (using jdk 1.4). Is there any internal restriction in the Handler or any other type of classes underneath? * URIs Defining an element of type 'xsd:anyURI' leaves me with a string, again. I was expecting to end up with a java.net.URL, so that it would be automatically validated (as i go from java to XML, not the opposite). * Arrays I'm defining Array like structures using unbounded elements. Two issues here: The first is that i get a java.util.List, instead of a proper strong-typed array of the object type. The second is that the interface only exposes a get method, no set. I've looked and played a bit with the way i'm generating the objects and can't seem to find any way to actual set these values. Are these features that do not exist yet or am i doing something wrong? If no such features exist, could you point me to a similar library that can fit to these requirements (and doesn't come with 70MB of libraries to fulfill other goals)? Thanks in advance, Ricardo PS: One thing that may be useful to know is that i define all fields using xsd:element inside xsd:sequence. No xsd:attribute at all.
smime.p7s
Description: S/MIME cryptographic signature
