esgee85 / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
0 stars 0 forks source link

jing hangs on Docbook 5 document with DOCTYPE containing only ENTITY #176

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. jing -t http://docbook.org/xml/5.0/rng/docbook.rng jinghang.xml

  This appears to hang forever with no output.

2. jing -t http://docbook.org/xml/5.0/rng/docbook.rng jingfail.xml
/tmp/jingfail.xml:438:48: fatal: The entity "lfloor" was referenced, but not 
declared.
Elapsed time 1323+78=1401 milliseconds

  This fails to validate (as it should, since the DOCTYPE containing
  the MathML entities has been removed), but does complete and report a
  result.

What is the expected output? What do you see instead?

I'd expect validating jinghang.xml to report successful validation,
rather than hang with no explanation as to why.

What version of the product are you using? On what operating system?

Jing as provided with the Debian 7 repositories, which says it
is version 20091111-5 in the package information, but which
relies on /usr/share/java/jing-20090818.jar, which appears to
be a slightly earlier release.

Original issue reported on code.google.com by jplgp...@gmail.com on 29 Oct 2013 at 9:29

Attachments: