Dear XmlBeans community, I'm having trouble building a project on Linux because of the classes generated by XmlBeans. The build works properly on a Solaris platform using the same tools:
Java : Hotspot 1.5.0_16 Ant : 1.6.5 XmlBeans: 2.3.1.0 For the XmlBeans version, it comes with Weblogic 10.0: com.bea.core.xml.beaxmlbeans_2.3.1.0.jar com.bea.core.xquery.xmlbeans-interop_1.0.0.0.jar com.bea.core.xquery.beaxmlbeans-interop_1.0.0.0.jar com.bea.core.xml.xmlbeans_2.3.1.0.jar I hope my problem is not related to Weblogic's version. So I have an XSD file containing something like: <simpleType name="MyType"> <restriction base="string"> <enumeration value="A cliché"></enumeration> ... </restriction> </simpleType> With Linux, I get this output: static final Enum A_CLICHÉ = Enum.forString("A cliché"); On the other hand, it produces this on Solaris: static final Enum A_CLICH\311 = Enum.forString("A clich\351"); The java source code generated on Linux doesn't compile because of an encoding mess I can't address now, so I'm currently trying to understand how the code is generated. I haven't found yet which option leads to either one or the other output that could have different defaults based on the platform. I hope someone can help me on this one. Best Regards, Dridi --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org