On Sat, 10 Nov 2001 09:48, Berin Loritsch wrote:
> According to the XML Namespace spec, officially the namespace is different
> if the prefix is different.

oops - I thought it was the other way round ;)

> > > The Factory methods (.getNamespace(String)) can be extended to
> > > simply have a boolean to set the policy for the object.
> > >
> > > However you must keep in mind that multiple policies for comparing
> > > Namespace objects has unpredictable results.  (actually it will
> > > use the policy of the Namespace object on the left side of the
> > > argument).
> >
> > you probably shouldn't be comparing namespace objects across domains
> > anyway - I would consider that an error in the code.
>
> So does the change to the factory method sound like the way to go?

works for me.

-- 
Cheers,

Pete

---------------------------------------------------
"If you don't know where you want to go, we'll make 
sure you get taken." 
Microsoft ad slogan, translated into Japanese.
---------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to