Hello Marco!
> I want to arrange my scheme with the insertion of a element of type
> "identifier", that is a class returned by an external API.
I'm not quite sure what you mean be this. Do you have code already
generated by JAXB, based on a schema that you wish to change now?
If you can be more specific I'd be glad to help.
> If not, is it possible to modify the generated classes after the
> validation and the binding of the scheme?
You can do some modification, like changing the class name. But watch
out for the annotations!!
--tim
marco - 29 Sep 2006 13:58 GMT
Thank you, but I solved my problem setting some constraints to the
xsd:string type of the scheme.
The fact was that the class I wanted to insert in the scheme has a
field that can be seen as a 40 bit hex string, and thus I set this
constraint into my scheme, as:
<xsd:simpleType name="extClassId">
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
Marco
Tim Hallwyl ha scritto:
> Hello Marco!
>
[quoted text clipped - 12 lines]
>
> --tim