tksk / jing-trang

Automatically exported from code.google.com/p/jing-trang
0 stars 0 forks source link

'...Test.xml:6:26: error: found attribute "xml:lang", but no attributes allowed here' #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create simple RNG file
2. Create simple Test file 
3. java -jar jing-20091111/bin/jing.jar RNG.rng RNG-Test.xml

Expected output sould be empty (an OK).
Output got: "...Test.xml:X:YY: error: found attribute "xml:lang", but no 
attributes allowed here"

Version: 20091111. Linux. java-6-openjdk

I'm not sure, how to say jing, that all "xml:" attributes are allowed. 
<?xml version="1.1" encoding="UTF-8" standalone='yes'?>
Seems to not to be the solution... but XML 1.1 allows xml:lang and xml 
namespace is defined by XML itself. Where is the problem?

Original issue reported on code.google.com by Umbert...@gmail.com on 14 Aug 2010 at 1:17

GoogleCodeExporter commented 9 years ago
As far as RELAX NG is concerned, there is nothing special about xml:lang.  A 
schema must explicitly allow xml:lang.

Original comment by jjc.jclark.com on 24 Aug 2010 at 4:26