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

Noble Paul commented on SOLR-17:
--------------------------------

the XSD in the latest patch looks wrong to me.

{code:xml}
 <xs:complexType name="response">
        <xs:sequence minOccurs="0">
            <xs:element name="responseHeader" type="responseHeader" 
minOccurs="1"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:element name="result" type="result"/>
{code}
response does not contain a tag called "responseHeader" or an attribute called 
"status". so there is no type called "responseHeader".

> XSD for solr requests/responses
> -------------------------------
>
>                 Key: SOLR-17
>                 URL: https://issues.apache.org/jira/browse/SOLR-17
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mike Baranczak
>            Priority: Minor
>         Attachments: SOLR-17.Mattmann.121709.patch.txt, solr-complex.xml, 
> solr-rev2.xsd, solr.xsd, UselessRequestHandler.java
>
>
> Attaching an XML schema definition for the responses and the update requests. 
> I needed to do this for myself anyway, so I might as well contribute it to 
> the project.
> At the moment, I have no plans to write an XSD for the config documents, but 
> it wouldn't be a bad idea.
> TODO: change the schema URL. I'm guessing that Apache already has some sort 
> of naming convention for these?

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

Reply via email to