I don't know anything about xmllint but I'd assume that for any
validation tool you'd have to tell it about all the schemas it is
supposed to know about? In this case there are 3, not just the
apacheds xbean schema, there are also 2 spring schemas, and the
complaint appears to be about one of them.
thanks
david jencks
On Mar 9, 2009, at 12:01 PM, Felix Knecht wrote:
Hi David
What is stopping you from doing the validation? AFAIK it ought to
be possible.
It simple doesn't works ...
fe...@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
fe...@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
fe...@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