Even Rouault-2 wrote
> This is invalid XML. > and < characters as text must be escaped. 

Just as a small side remark: only < MUST be escaped in the given case.
Hermann

$ echo '<SrcSQL>SELECT * FROM gbif_gisinput WHERE (decimallongitude >= 0)
AND (decimallongitude <= 360)</SrcSQL>' | xmlwf
STDIN:1:89: not well-formed (invalid token)

$ echo '<SrcSQL>SELECT * FROM gbif_gisinput WHERE (decimallongitude >= 0)
AND (decimallongitude &lt;= 360)</SrcSQL>' | xmlwf
(no error here)




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR-Virtual-Format-ERROR-1-Line-6-Didn-t-find-element-token-after-open-angle-bracket-tp5213859p5213972.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to