dev@jaxb.java.net

[Fwd: fastinfoset unmarshaller fix in jaxb] How to prevent generateSchema from using NameConverter

From: Fady <fady_at_legsem.com>
Date: Fri, 28 Mar 2008 10:48:08 -0700 (PDT)

Hello,

I have a set of existing Java classes which I cannot modify. These classes
are not annotated.

I would like to use schemagen to create XML schemas for these classes.

The issue I have is with complexType names that j2s derives from Class
names. As an example, a Class named "JVMQuery" becomes "jvmQuery".

This is a problem for me because I post-process the generated XML schema and
need to be able to trace back the original Class name from the complexType
name.

JAXB RI 2.1.3 uses NameConverter.standard.toVariableName systematically and
I could not find any option in JAXBContext to prevent this name conversion
from happening.

I thought I saw a similar posting several month back but after several hours
searching the archives I decided to post it again.

Thanks for your help.

Fady
-- 
View this message in context: http://www.nabble.com/How-to-prevent-generateSchema-from-using-NameConverter-tp16356747p16356747.html
Sent from the java.net - jaxb dev mailing list archive at Nabble.com.