jackrabbit-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/JCR-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christophe Lombart reassigned JCR-1752:
---------------------------------------

    Assignee: Christophe Lombart

> 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
>            Assignee: Christophe Lombart
>            Priority: Minor
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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);
>         DigesterDescriptorReader.class.cast(descriptorReader).setValidating(validate);
>         this.buildMapper();
>     }
> 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.


Mime
View raw message