On Thu, 2008-12-04 at 08:01 -0500, Kevin Thorley wrote:
> On Wed, 2008-12-03 at 17:12 -0500, Huijun Yang wrote:
> > Hello,
> > 
> > As part of xcf-2751, I am relocating polycom from neoconf to its own
> > plugins. The actual plug&play seems function well, but I ran into the
> > following errors in unit test.  I could not figure out what exactly
> > was the error it complained about. Can someone shed some light on
> > this, please?
> > 
> > Thanks in advance! 
> > Huijun
> [...]
> 
> Here is the offending line:
> Caused by: java.io.FileNotFoundException:
> http://www.sipfoundry.org/sipXconfig/dtd/setting_2_0.dtd
> 
> I think Damian ran into this earlier in the week.  He said eclipse
> wasn't validating xml docs since sipfoundry was down.  I think you can
> just include the dtd file in the same dir with your other xml files and
> it will get picked up, though someone may correct me on that

We should never be dependent on a remote resource like that.

The right way to deal with this is to have an xml catalog that maps each
namespace uri to a local file resource.  You can see an example of how
this is done in the sipx-validate-xml script: it scans the schema
directory and creates a catalog file to do the mapping.


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to