This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152781 - XML Schema to Entity Class Generator Bug
Summary: XML Schema to Entity Class Generator Bug
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: schema2beans-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-08 15:40 UTC by kadirbasol
Modified: 2008-11-08 15:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kadirbasol 2008-11-08 15:40:47 UTC
I'm using Netbeans 6.5 and I've XML Schema :
<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://xml.netbeans.org/schema/PostSchema"
            xmlns:tns="http://xml.netbeans.org/schema/PostSchema"
            elementFormDefault="qualified">
    <xsd:element name="ROOT">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="FROM" type="xsd:string"/>
                <xsd:element name="TYPE" type="xsd:integer"/>
                <xsd:element name="DATE" type="xsd:dateTime"/>
                <xsd:element name="MSG_ID" type="xsd:integer"/>
                <xsd:element name="POST" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>


On Code Generation I got unknown characters :

    @XmlElement(name = "MSG_ID", required = true)
    protected BigInteger msg�d; //gives error here and i cant fix
    // because everytime i compile i got xml to java code generation !

it should be msgId variable i change but its changing back to msg�d.

I'm using Windows XP with Turkish keyboard.
I donno how to fix this problem.
Maybe changing netbeans language settings may fix the problem.
I'm using netbeans english but i mean jvm lang settings.