(In reply to Thomas Schraitle from comment #10) > 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 right. I know rarely about java and jing. I know I put the wrong parameters. I don't kow HOW and WHERE I can put the correct parameters. sles12-x64:/usr/share/doc/packages/jing/sample/datatype # jing datatype-sample.rng valid.xml /usr/share/doc/packages/jing/sample/datatype/datatype-sample.rng:4:32: error: datatype library "http://www.thaiopensource.com/relaxng/datatypes/sample" not recognized