jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Landelle (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1752) Allow users to disable validation
Date Mon, 22 Sep 2008 15:28:44 GMT
Allow users to disable validation

                 Key: JCR-1752
                 URL: https://issues.apache.org/jira/browse/JCR-1752
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-ocm
            Reporter: Stephane Landelle
            Priority: Minor

DigesterMapperImpl leaves validating set to default true when creating a DigesterDescriptorReader.

But as the dtd is not available anywhere (published or in the source), it is usually not declared
in mapping files, and DigesterDescriptorReader complains about it.

Could it be possible to leave the user a way to configure the validation? The simpliest way
would be to add this constructor to DigesterMapperImpl :

    public DigesterMapperImpl(InputStream[] streams, boolean validate) {
        descriptorReader = new DigesterDescriptorReader(streams);

Best regard,

Stephane Landelle

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message