On May 26, 2006, at 2:19 AM, Chris Hostetter wrote:
Mike Baranczak has provided a nice litle XSD for Solr update/response
docs, the question is what should we do with it?

Presumably XMLResponseWriter should start refrencing it in the XML it
creates, but via what URL? Should it only live in the solr.war, or should
it also live at some world accessible *.apache.org/* URL?

Does anyone know if there is an oficial Apache policy on DTDs and
XSDs and such?

It is not necessary, and actually frowned upon (maybe even prohibited by the ASF at this point) for there to be a real file responding to the *URI* which happens to be a WWW http:// *URL*. We're free to create whatever URI we want, and simply configure any internal parser that uses it (would Solr ever need to use the XSD itself?) to map the URI to a URL accessible schema schema (local filesystem, even within JAR's, WAR's, etc). The apache.org web servers get beat up enough as it is, and having the world point to an online DTD adds brittleness to deployments. Developers thing the system works fine, and they deploy to a production server that is more firewalled off and suddenly configuration files don't parse and the system is unusable. Local resolution only is the way to go.

        Erik



Reply via email to