W3C home > Mailing lists > Public > public-multilingualweb-lt-tests@w3.org > June 2013

Running ant validate-xml

From: Fredrik Liden <fliden@enlaso.com>
Date: Mon, 17 Jun 2013 12:24:46 -0600
To: Multilingual Web LT-TESTS Public <public-multilingualweb-lt-tests@w3.org>
Message-ID: <4236658BB877A542A66660614300B185B199C4CD14@orion.helios.local>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:58 UTC