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 2007/07/02 20:57:04 UTC

[jira] Commented: (SOLR-277) Character Entity of XHTML is not supported with XmlUpdateRequestHandler .

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

Hoss Man commented on SOLR-277:
-------------------------------

(FWIW: the old XmlUpdateRequestHandler has been renamed XppUpdateRequestHandler and deprecated, the current XmlUpdateRequestHandler uses stax.)

This type of functionality seems like it might be a handy option for people to have if they know they have non standard entities in their input -- but i think be default we want to be strict about our XML parsing.  perhaps an optional init param could be added to the XmlUpdateRequestHandler where a filename containing mappings like this could be specified?

(this is assuming stax has something akin to the parser.defineEntityReplacementText method used in the patch)

> Character Entity of XHTML is not supported with XmlUpdateRequestHandler .
> -------------------------------------------------------------------------
>
>                 Key: SOLR-277
>                 URL: https://issues.apache.org/jira/browse/SOLR-277
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 1.3
>            Reporter: Toru Matsuzawa
>         Attachments: XmlUpdateRequestHandler.patch
>
>
> Character Entity of XHTML is not supported with XmlUpdateRequestHandler .
> http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
> http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
> http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
> It is necessary to correspond with XmlUpdateRequestHandler because xpp3 cannot use <!DOCTYPE>.
> I think it is necessary until StaxUpdateRequestHandler becomes "/update".

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