On 12/22/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
1) i'm assuming the <schema> tag in your schema.xml either doesn't have a version="" attribute in it, or has an empty string (or pure white space) as the value, is that correct?
This happens with the solr example. I just verified it... downloaded resin-2.2.zip on windows, copied over example/webapps/solr.war and example/solr/example and I got the same exception on startup.
so is this a bug in the DOMUtil.getText(NOde) method i wrote, or should we change Config.getVal, or should we change all of the Config.get*(path,def) methods to use the default if getVal returns am empty string?
I'd rather not unless we really have to. Seems like we should be able to tell the difference of foo="" and the absense of foo. -Yonik