Re: Regional settings effects to code generation...

Jacob Danner <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Have you tried working around this using and xsdconfig file to remap
the generated package name? That might be able to get around the
platform case sensitivity issue.
-jacobd

2010/1/18 Serkan Taş <[email protected]>:
> Hi,
>
> I am using xmlbeabs 2.5. I am getting the error below while setting my
> region to Turkey and Turkish.
>
> This is my build file :
>
>
> <project
>
> name="xmlbeans" default="xmlbeans" basedir=".">
>
> <property name="appname" value="zmlbeans" />
>
> <taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean"
>
> classpath="D:/dev/likyateknoloji/likyaWorkspace/SharedLibs/xmlbeans-2.5.0/xbean.jar"
> />
>
> <target name="xmlbeans">
>
> <!-- xmlbean schema="schemas" destfile="Schemas.jar" / -->
>
> <xmlbean schema="raex/raex.xsd" srcgendir="tests" javasource="1.5"
> download="true" />
>
> <!--
>
> xmlbean classgendir="${build.dir}" classpath="${class.path}"
>
> failonerror="true"> <fileset basedir="tests" excludes="**/*.xsd" />
>
> <fileset basedir="serkan" includes="**/*.*" /> </xmlbean
>
> -->
>
> </target>
>
> </project>
>
>
>
> After executing the script, code is generated but compilation fails due to
> invalid package names.
>
> This is the message :
>
>
>
> Buildfile:
>
> XmlBeansTest\build.xml
>
> xmlbeans
>
> :
>
> [
>
> xmlbean] Time to build schema type system: 0.452 seconds
>
> [
>
> xmlbean] Time to generate code: 0.078 seconds
>
> [xmlbean] Compiling 37 source files to
> C:\Users\vista\AppData\Local\Temp\xbean8250516161539354447.d\classes
>
> [xmlbean] javac: file not found:
> ....XmlBeansTest\tests\org\gsm\ınfocentre\tadıgRAEXAA14\BIDTechnologyListDocument.java
>
> [xmlbean] Usage: javac <options> <source files>
>
> [xmlbean] use -help for a list of possible options
>
> BUILD FAILED
>
> ....XmlBeansTest\build.xml:13: Compile failed; see the compiler error output
> for details.
>
> Total time: 1 second
>
>
>
> If change my region t states, everything is fine.
>
> The peoblem is caused by upper to lower conversion of some charactrers
> reside int turksih like 'İ' 'i', 'I' 'ı'.
>
>
>
> any help kindly accepted...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.