On May 26, 2006, at 3:24 AM, Chris Hostetter wrote:
: 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
right .. we can certianly put the file in solr.war, and configure the
XMLResponseWriter to refrence it via a relative path so any client
of a
particular solr instance can retrieve it from that instance. ..
likewise
any clients generating update docs that want to refrence the schema
can do
some using the same URL .. my question was more regarding policy:
1) are there any Apache xmlns namespace policies/conventions?
2) are there any Aapache policies regarding real word URLs for xmlns
URIs?
3) are there any Apache naming convetions for DTDs/XSDs files?
4) are there any Apache policies regarding real world URLs for DTD/
XSD
URIs? (it sounds like the answer is "yes: don't do it")
I looked at a few randomly selected files from various Apache
projects, and it doesn't seem like there are any naming conventions
at all, or if there are, nobody else knows them either. I propose the
following:
http://lucene.apache.org/solr/1.0/solr-http.xsd
-MB