directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: [Studio] Validation of server configuration against schema
Date Mon, 09 Mar 2009 19:01:24 GMT
Hi David

> What is stopping you from doing the validation? AFAIK it ought to be 
> possible.

It simple doesn't works ...

felix@donar /tmp $ xmllint --version
xmllint: using libxml version 20703
    compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid
HTML Legacy C14N Catalog 
XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules
Debug Zlib

felix@donar /tmp $ xmllint default-server-1.5.4.xml --schema apacheds-xbean-spring-1.5.4.xsd
   ....
default-server-1.5.4.xml:25: element beans: Schemas validity error : Element 
'{http://xbean.apache.org/schemas/spring/1.0}beans': No matching global declaration available
for the validation root.
default-server-1.5.4.xml fails to validate
felix@donar /tmp $

[1] default*.xml: 
https://svn.apache.org/repos/asf/directory/studio/trunk/apacheds-configuration/src/main/resources/org/apache/directory/studio/apacheds/configuration/default-server-1.5.4.xml
[2] apacheds*.xsd: 
http://repo1.maven.org/maven2/org/apache/directory/server/apacheds-xbean-spring/1.5.4/apacheds-xbean-spring-1.5.4.xsd

Felix

Mime
View raw message