Open JanOppolzer opened 10 years ago
Thanks Jan, I'll take a look when I can.
Which version of the JDK are you using? It might be worth updating. xmllint doesn't fully implement xml schema, so I'm a bit surprised it seems to be doing better...
I'm using the latest openjdk-7-jre from Debian Wheezy:
$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Hi Adrian,
as you asked in #9, I'm sending XML Schema (
ext-scope-new.xsd
) file which produces "Error reading XML Schema" message.I've tried to validate XML files against
ext-scope.xsd
as well asext-scope-new.xsd
usingxmllint
without any problem; however,xsd-validator
works fine only forext-scope.xsd
while producing the mentioned error message forext-scope-new.xsd
.There's just one difference between these XSD files and it's minOccurs attribute.
Try to validate
idp-hostel-eduid-cz.xml
,www3-eduid-cz.xml
andwww3-eduroam-cz.xml
.Since attaching XML/XSD files is not possible with GitHub, you can grab the files at http://devnull.cesnet.cz/xsd-validator/