lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <>
Subject [jira] Commented: (SOLR-1669) Make XMLWriter write out xml that references the SOLR response XSD/DTD
Date Mon, 21 Dec 2009 16:02:18 GMT


Chris A. Mattmann commented on SOLR-1669:

Back compat.

XML Parsers can be configured to do validation if/when a schema/dtd is declared. Clients unknowningly
using a parser configured that way could (and most likely would) perceive a big slow down
in their apps if we started including the schema declaration and that triggered expensive
validation when they didn't want it.

there are also people using the XML response format for incredibly small responses (thing
an autosuggest component) where a schema delcaration would double the size of hte response

Okey dokey -- no schema by default then! 

I'll try and prepare an update to this issue and to SOLR-17 and throw up the patches today.
Thanks for the feedback!

> Make XMLWriter write out xml that references the SOLR response XSD/DTD 
> -----------------------------------------------------------------------
>                 Key: SOLR-1669
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Response Writers
>    Affects Versions: 1.2, 1.3, 1.4
>         Environment: My MacBook Pro, Christmas-break style.
>            Reporter: Chris A. Mattmann
>             Fix For: 1.5
>         Attachments: SOLR-1669.Mattmann.121709.patch.txt
> As described in SOLR-17, this is patch #2 of 3. It will make a simple modification to
XMLWriter which makes the output response XML reference the SOLR XSD file. This way, clients
can validate against it.

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

View raw message