You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Simon Hu <si...@grainger.com> on 2008/11/18 19:44:21 UTC

Is there a DTD/XSD for XML response?

Hi, 

I assume there is a schema definition or DTD for XML response but could not
find it anywhere. 

Is there one? 

thanks
-Simon 

-- 
View this message in context: http://www.nabble.com/Is-there-a-DTD-XSD-for-XML-response--tp20565773p20565773.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Is there a DTD/XSD for XML response?

Posted by Chris Hostetter <ho...@fucit.org>.
: > I assume there is a schema definition or DTD for XML response but could not
: > find it anywhere.
: > 
: > Is there one?

there was an attempt at one a while back, it got to the point where it was 
mostly correct, but no one really had any specific ideas of what to do 
with it (just commiting it could be missleading if people forget to 
upgrade it when making enhancements to the XmlResponseWriter and forgets 
to update it).

	https://issues.apache.org/jira/browse/SOLR-17

If someone wanted to get it uptodate, and then write a patch to the 
AbstractSolrTest so every assertQ validated the response aganst the XSD 
(to demonstrate it's correctness and help ensure that any hcanges to 
XmlResponseWriter get made to the XSD as well) i'd be in favor of 
committing it then.


-Hoss


Re: Is there a DTD/XSD for XML response?

Posted by Ryan McKinley <ry...@gmail.com>.
nope... solr does not have a DTD.


On Nov 18, 2008, at 1:44 PM, Simon Hu wrote:

>
> Hi,
>
> I assume there is a schema definition or DTD for XML response but  
> could not
> find it anywhere.
>
> Is there one?
>
> thanks
> -Simon
>
> -- 
> View this message in context: http://www.nabble.com/Is-there-a-DTD-XSD-for-XML-response--tp20565773p20565773.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>