I use ampersand sign in the <query>
value, so I encode it as &
but getting
5/04/2012 10:07:03 AM <WARNING> XML configuration warning in file:.../etl.xml(26:169): The entity "AMP" was referenced, but not declared.
The solution could be to create own DTD and define entity there. But the issue is that I use DTD from scriptella:
<!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd">
Any solution other than download, add entity and host locally?
Try using &
instead of &
.
Alternatively, you should be able to add the declaration for amp to the internal subset:
<!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd" [
<!ENTITY amp "&">
]>