cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@supereva.it>
Subject Re: "DOM002 Illegal character" when using COUNT(*)
Date Mon, 11 Sep 2000 13:05:33 GMT
----- Original Message ----- 
From: "Luis Gois" <lgois@despodata.pt>
To: <cocoon-users@xml.apache.org>
Sent: Monday, September 11, 2000 8:43 PM
Subject: "DOM002 Illegal character" when using COUNT(*)


> Hi!
> What may be causing this DOM002 error when executing the query :
> 
>                             SELECT count(*) FROM table1
> 
> when the query:
> 
>                             SELECT * FROM table2

AFAIK this error comes up when the sqltaglib or processor tries to create
non valid xml, mainly because of column names that contain special
characters (special for xml tags... space is one of them).
Make the query run in Java alone and print out the resultset elements and 
column names.
If the xml that should result is not valid... you know why! :-)

nicola_ken

Nicola Ken Barozzi - AISA Industries S.p.A
http://www.aisaindustries.it/
Via Leonardo da Vinci,2 Ticengo (CR) Italy
Research Activity:
Politecnico di Milano - Dipartimento di Meccanica
Piazza Leonardo da Vinci, n.32 - 20133 Milano (Italy) 


Mime
View raw message