jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seidel. Robert" <Robert.Sei...@aeb.de>
Subject AW: Repository.xml - optional doctype tag - causes warnings
Date Fri, 12 Nov 2010 17:27:34 GMT

I'm using Jackrabbit 2.1.2.. 

The last points in the discussion in https://issues.apache.org/jira/browse/JCR-1462 are very

Because Jackrabbit 2.1 requires JDK 1.5 it is now possible in my opinion to use the suggested
feature from the discussion:

factory.setFeature("http://apache.org/xml/features/validation/dynamic", true)

It would be great, if it can be changed in the 2.1 programming...

Kindly regards,

Robert Seidel

-----Urspr√ľngliche Nachricht-----
Von: Jukka Zitting [mailto:jzitting@adobe.com] 
Gesendet: Freitag, 12. November 2010 17:19
An: users@jackrabbit.apache.org
Betreff: RE: Repository.xml - optional doctype tag - causes warnings


From: Seidel. Robert [mailto:Robert.Seidel@aeb.de]
> The documentation says, that the doctype tag is optional
> (http://jackrabbit.apache.org/jackrabbit-
> configuration.html#JackrabbitConfiguration-Repositoryconfiguration) and
> it is good, that this is optional. Because if the tag is set, then the
> validation calls home through the internet each time you start a
> repository - the application should not do this in my use case - so
> I've removed the tag.

Which versions of Jackrabbit and Java are you using? We encountered and fixed this problem
already in Jackrabbit 1.2 (see https://issues.apache.org/jira/browse/JCR-695).

> The bad thing is, that
> RepositoryConfigurationParser.parseRepositoryConfig always calls parse
> with the validation option set to true, which leads to the following
> logger warnings:

See https://issues.apache.org/jira/browse/JCR-1462 for some background on this behavior.


Jukka Zitting
View raw message