Underscores in database table names ending up as x005F

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pmonks
Posts: 13
Joined: Fri May 05, 2006 2:10 am

Underscores in database table names ending up as x005F

Post by pmonks »

G'day,

I'm reverse engineering an XML Schema from a relational database (Oracle), and the names of the tables in that database contain underscores (eg. EXAMPLE_TABLE_NAME). When I perform the XML Schema reverse generation it appears that <oxygen/> replaces the underscores with "x005F", so for example the table "EXAMPLE_TABLE_NAME" gets mapped to a complex type with the name "EXAMPLE_x005F_TABLE_x005F_NAME".

Is this a misconfiguration or error on my part, or a bug in <oxygen/>, or ...?

Thanks in advance,
Peter
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Only the sequence '_x' should be replaced with '_x005F' as required in the XML-Related Specifications (SQL/XML) part of the ISO-ANSI Working Draft which <oXygen/> implements. EXAMPLE_TABLE_NAME should be mapped to a complex type with the same name. We will correct the problem in a future version.

Regards,
Sorin
Mircea
Posts: 143
Joined: Tue Mar 25, 2003 11:21 am

Post by Mircea »

Hi Peter,

The escaping of 'underscore' problem was resolved in the current development stream, and will be available in the next release.

Regards,
Mircea
Post Reply