[ 
https://issues.apache.org/jira/browse/SOLR-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194662#comment-13194662
 ] 

Mike Sokolov commented on SOLR-1758:
------------------------------------

I'm not sure if plugins use the Config class?  It's been almost a year since I 
looked at this.  But if they are getting a NamedList, it's probably too late 
(in their init()) to validate their input using a formal XML schema.  Perhaps 
there could be a hook though for extending the config.xsd so that plugin config 
can be validated in the same step as the rest of the config.  I believe we 
could do this using some mechanism of include files in the schemas; plugin 
authors would put their own schemas in an extension.xsd?
                
> schema definition for configuration files (validation, XSD)
> -----------------------------------------------------------
>
>                 Key: SOLR-1758
>                 URL: https://issues.apache.org/jira/browse/SOLR-1758
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Jorg Heymans
>              Labels: configuration, schema.xml, solrconfig.xml, validation, 
> xsd
>             Fix For: 4.0
>
>         Attachments: config-validation-20110523.patch
>
>
> It is too easy to make configuration errors in Solr without getting warnings. 
> We should explore ways of validation configurations. See mailing list 
> discussion at http://search-lucene.com/m/h6xKf1EShE6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to