
http://bugzilla.suse.com/show_bug.cgi?id=914681 http://bugzilla.suse.com/show_bug.cgi?id=914681#c10 --- Comment #10 from Thomas Schraitle <thomas.schraitle@suse.com> --- 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: You are on the CC list for the bug.