db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Przybylski <przyb...@engr.arizona.edu>
Subject Re: XML Entities in Table Names
Date Tue, 04 Mar 2008 14:22:14 GMT
By the way, this is a torque generator question.

Leo Przybylski wrote:
> Hello all,
>
> I'm new to the list. I tried searching for the answer to my question on
> the internet, but I can't seem to find it. Maybe I am asking the wrong
> question, but here it is.
>
> I am using torque to copy one database to another. For example, Oracle
> to Oracle, or Oracle to MySQL. There is no way to know the source or
> target. Torque doesn't seem to care, and that's what I like about it.
>
> Some RDBMS allow strange characters that are XML entities in the name.
> For example, Oracle will allow something like DEPT$SECTION or something
> like that. '$' causes problems in XML. Torque produces the following
> error as a result:
> [torque-data-dump] org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An
> invalid or illegal XML character is specified.
>
> What can I do to get around this? I am not opposed to entity translation
> in XML (ie., <DEPT_DDOLLAR_SECTION ... /> where DDOLLAR replaces $,) but
> how would I go about that?
>
>
> Much thanks in advance,
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message