You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/12/14 01:36:21 UTC

[jira] Assigned: (SOLR-78) [PATCH] Improved config loading

     [ http://issues.apache.org/jira/browse/SOLR-78?page=all ]

Hoss Man reassigned SOLR-78:
----------------------------

    Assignee: Hoss Man

I tried to produce an example of the type of thing i'm worried about with the body of a comment getting slurped up ... but i could not -- as far as i can tell that's actually a defect of the DOM parser, the spec says it should be there.

Either way it should be safe and easy to check the Node type and only include nodes that aren't comments or processing instructions, i'll try to do that tomorow.

> [PATCH] Improved config loading
> -------------------------------
>
>                 Key: SOLR-78
>                 URL: http://issues.apache.org/jira/browse/SOLR-78
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alexander Saar
>         Assigned To: Hoss Man
>            Priority: Minor
>         Attachments: fixed-config-loading-with-older-parser-versions.patch
>
>
> Solr configuration throws an UnsupportedConfigurationException for Node.getTextContent() if it is started in server environments that uses older implementations of the DOM API. This can be improved by checking wich node type is actually handled an calling the appropriate methods.
> A patch that fixes this problem is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira