Page 1 of 1

Underscores in database table names ending up as x005F

Posted: Fri May 05, 2006 2:15 am
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

Posted: Fri May 05, 2006 10:22 am
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

Posted: Wed May 10, 2006 2:03 pm
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