Forum Bugs

prince-java-r9 messages always start with "|"

tofi86
The latest Java wrapper from http://www.princexml.com/download/wrappers/ has ja problem with the message extraction from the commandline.

Original message:
msg|err|can't open input file: No such file or directory(C:/Users/{{absolute_path_to_xml_base_dir}}/pagina.dtd)
msg|wrn|failed to load external entity "C:/Users/{{absolute_path_to_xml_base_dir}}/pagina.dtd"(C:/Users/{{absolute_path_to_xml_base_dir}}/2-printcss_custom2.xml:3)


Message "msgText" returned by
public void onMessage(String msgType, String msgLocation, String msgText)


is:
|can't open input file: No such file or directory(C:/Users/{{absolute_path_to_xml_base_dir}}/pagina.dtd)
|failed to load external entity "C:/Users/{{absolute_path_to_xml_base_dir}}/pagina.dtd"(C:/Users/{{absolute_path_to_xml_base_dir}}/2-printcss_custom2.xml:3)


Always begins with a leading "|" which should better be stripped as well...
mikeday
Thanks, we will take a look at this issue.