Hi!
I have build Parser for a file, containing SQL commands. The problem is that a SQL command can contain '<' and '>', i.e.
SELECT ID, NAME FROM SOME_TABLE WHERE INT_COLUMN >= ? OR INT_COLUMN <= ?
When I parse the file I get an parser exception:
DOMError FATAL ERROR message: Expected an element name
Is there any way to get around this problem? I tried to put an escape character before '<' and '>', i.e.
SELECT ID, NAME FROM SOME_TABLE WHERE INT_COLUMN \>= ? OR INT_COLUMN \<= ?
The correct way to escape '<' and '>' in an XML file is to use < and >
Alberto
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
