Running ant validate-xml

Hi Leroy,

I was trying to run ant validate-xml on the test files and I get an error

C:\Users\fliden\ITS-2.0-Testsuite\its2.0>ant validate-xml
Buildfile: C:\Users\fliden\ITS-2.0-Testsuite\its2.0\build.xml

BUILD FAILED
C:\Users\fliden\ITS-2.0-Testsuite\its2.0\build.xml:6: taskdef class com.thaiopen
source.relaxng.util.JingTask cannot be found
using the classloader AntClassLoader[C:\Users\fliden\ITS-2.0-Testsuite\its2.0\l
ib\jing.jar]

Seems the jing.jar file is corrupt. Can someone else verify status of the jing.jar in the test repository?

I tried downloading another Jing distribution:
https://code.google.com/p/jing-trang/downloads/detail?name=jing-20091111.zip&can=2&q=


When I run that I get the following error message:

C:\Users\fliden\ITS-2.0-Testsuite\its2.0>ant validate-xml
Buildfile: C:\Users\fliden\ITS-2.0-Testsuite\its2.0\build.xml

validate-xml:
     [jing] C:\Users\fliden\ITS-2.0-Testsuite\its2.0\inputdata\localizationnote\
xml\locnote1xml.xml:4:32: error: attribute "translate" not allowed here; expecte
d attribute "ns:href", "ns:type" or "queryLanguage" (with xmlns:ns="http://www.w

3.org/1999/xlink")

Locnote1xml.xml:

I don’t think the translate="no" part should be there.

<myRes>
<head>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its"
  version="2.0" translate="no">
   <its:locNoteRule locNoteType="alert" selector="//msg[@id='DisableInfo']">
    <its:locNote>The variable {0} has three possible values: 'printer',
    'stacker' and 'stapler options'.</its:locNote>
   </its:locNoteRule>
  </its:rules>
</head>
<body>
  <msg id="DisableInfo">The {0} has been disabled.</msg>
</body>
</myRes>

Cheers,
Fredrik

Received on Monday, 17 June 2013 18:25:20 UTC