Isreal,

Israel, Kirk wrote:
> Again, apologies, but I have specific observations/questions now:
> 
> I realize that 
> <transactionDocumentNumber>abc</transactionDocumentNumber>
> fails but
> <transaction-document-number>1234</transaction-document-number>
> succeeds.
> 
> I think that we made our XML templates by taking our Document object and
> marshalling it and using that as a model...
> 
> * at some point did the standard, non-mapping file preference change
> from camelCase to written-with-dashes?  And most importantly, can I get
> it to read camelCase without writing a map?
Looking at castor.properties, default seems to be lower. If you wanted
to switch back to camel-case, uncomment the following entry in
castor.properties

org.exolab.castor.xml.naming=mixed

as by default is is commented. As to why and when this has been changed,
no idea .. ;-).

> * for that matter, at some point did the default preference change from
> nested types to attributes for Strings and other simple-ish types? (I
> noticed that when I write an object now) I think this one I could change
> in the properties.

Looks like

#org.exolab.castor.xml.introspector.primitive.nodetype=element

could be your friend .. ;-).

Werner


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to