Keith Visco wrote:

If you want to modify a generated descriptor you can do the following:

<class name="Foo" auto-complete="true">
 ...changes...
</class>

With the auto-complete Castor will look for generated descriptors.

it seems that if a mapping file is used at all, the Descriptors are never instantiated. is this a relatively new feature? i.e. after 12/13/2002. if not, there must be something wrong that i can not see.

also, if i add auto-complete, my marshalled document has elements that are not valid in the schema definition. e.g. 'valid="true"'. seems like the only way to not have those undesirable fields is to not use the auto-complete attribute in the mapping file.

sure seems like descriptors and extended objects are mutually exclusive! i've included my example code. ideally, the content in the marshalled document will be same as in the file node.xml, disregarding the DOCTYPE node and ignoring xml ns.

thanks,
kjk




Attachment: foobar.jar
Description: Binary data

Reply via email to