Reverse engineering editor generates invalid XML (JDBC type)

Description

If leaving the JDBC type empty in the Column section (Tab Table&Columns), the following XML is generated:

<column name="BEZAHLT" jdbc-type='' type="yes_no"/>

Would be better to a) check if the field is empty and diaply an error message or b) generate valid code winking face

Environment

None

Activity

Show:

Max Rydahl Andersen September 15, 2006 at 1:53 PM

turned out not to be a bug

Max Rydahl Andersen February 14, 2006 at 11:04 AM

yes, for some reason that is what happens when you insert an empty string via api in WTP...have not investigated it too much on why.

Markus Junginger February 14, 2006 at 11:01 AM

You are right, it's valid. I was misslead by mixing the single quoted (') and double quoted (") characters. Two singles '' look like a double"

Max Rydahl Andersen February 14, 2006 at 10:54 AM

ahh - i misread this the first time.

i can see that it puts an empty string, but that is not invalid xml ?

i'll check the editor and convince it to remove the attribute if not present.

Max Rydahl Andersen February 14, 2006 at 10:50 AM

what does empty mean ?

please show the reveng.xml you use.

Rejected

Details

Assignee

Reporter

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Markus Junginger
Max Rydahl Andersen

Affects versions

Priority

Created February 14, 2006 at 10:42 AM
Updated September 15, 2006 at 1:53 PM
Resolved September 15, 2006 at 1:53 PM