You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Marco Pauck <pa...@wmd.de> on 2000/09/26 21:31:47 UTC

Errors in namespaces (was: Re: esql Small Problem!!!!)

> > i've faced a problem in esql which is:
> > i've writen the following xml file
> >
> > <xsp:page language="java"
> > xmlns:esql="http://www.apache.org/cocoon/SQL/v2"
> 
> that's the wrong namespace URI. sorry, trying to become consistent with
> the cocoon2 namespace URIs.

BTW: Few days ago, I spent some (well, far too much) time finding
a typo in a namespace URI (one 'o' too many in 'cocoon' ;-)

It would have been helpful to get an error or at least warning
in this case. Would this be a job for Cocoon? Or Xerces/Xalan?
And is it this what's listed under 'wishes' on the TODO page?

	Marco

Re: Errors in namespaces (was: Re: esql Small Problem!!!!)

Posted by Kevin Sonney <ke...@webslingerz.com>.
On Tue, 26 Sep 2000, Marco Pauck wrote:
> BTW: Few days ago, I spent some (well, far too much) time finding
> a typo in a namespace URI (one 'o' too many in 'cocoon' ;-)

<sarcasm>
Oh, I've never done *THAT* 
</sarcasm>

In my case, it was a typo in the wrong spot that read something as http::/
instead of http://

> It would have been helpful to get an error or at least warning
> in this case. Would this be a job for Cocoon? Or Xerces/Xalan?
> And is it this what's listed under 'wishes' on the TODO page?

Actually, this would be rather nice - something that says "Hey, this
namespace isn't any good!" durring the XSP processing...

-- 
+-------------------------------------------+
| Kevin Sonney        kevin@webslingerZ.com |
| Systems Programmer    www.webslingerZ.com |
+-------------------------------------------+