Comment # 10 on bug 914681 from
Hi,

(In reply to Liu Shukui from comment #9)
> Hello everyone, I almost finish the verification in maintenance.
> 
> but I don't know to make a regression test. I try to use the sample case in
> the package, but failed, I know rarely about java, is there anyone can
> provide me a regression test case?
> 
> sles12-x64:/usr/share/doc/packages/jing/sample/datatype # jing
> src/com/thaiopensource/datatype/sample/BalancedString.java valid.xml 
> /usr/share/doc/packages/jing/sample/datatype/src/com/thaiopensource/datatype/
> sample/BalancedString.java:1:1: fatal: prolog ������������������������

Are you sure you pass to jing the correct parameters?

Let's see what jing expects:

$ jing
Jing version 20091111
usage: java com.thaiopensource.relaxng.util.Driver [-i] [-c] [-s] [-t]
[-C catalogFile] [-e encoding] RNGFile XMLFile... RELAX NG is a schema
language for XML See http://relaxng.org/ for more information.

In other words, jing expects (a) an RNG file and (b) a XML file.
However, your input looks strange: You can't validate a Java file. Probably
this is where the error came from.


You are receiving this mail because: