Dear friends,
I would like to ask about James Clark sx.exe parser from SGML to XML.
I write the batch file like this :
"E:\Project\sx\sx.exe" -wall
"-DE:\Project\sx\entities" "-fE:\Project\error.log"
-xndata "E:\Project\xyz.dtd" "E:\Project\xyz.sgm" > "E:\Project\xyz.xml"
E:\Project\sx\sx.exe:E:\Project\xyz.sgm:15:55:W: reference to internal
SDATA entity "ldquo" not allowed in
XML
E:\Project\sx\sx.exe:E:\Project\xyz.sgm:15:77:W: reference to internal
SDATA entity "rdquo" not allowed in
XML
E:\Project\sx\sx.exe:E:\Project\xyz.sgm:18:79:W: reference to internal
SDATA entity "rdquo" not allowed in
XML
....
I have included entity files ISOTech, ISONum etc and ldquo, rdquo etc are
defined there (so should they really be considered as internal entities?).
Can anyone help resolve these problems and their cause.
Alternatively, after generating the resulting xml files which contains
references but not the declarations to such entities, how can we handle
those entitity references at XML post-processing time.
Thanks.
U