Hi Mukul, Given that the default behaviour of PsychoPath (for the default function namespace) matches what XML Schema 1.1 requires I won't worry about it.
Thanks for clearing this up. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Mukul Gandhi <[email protected]> wrote on 11/13/2009 12:17:03 AM: > Hi Michael, > > On Fri, Nov 13, 2009 at 9:57 AM, Michael Glavassevich > <[email protected]> wrote: > > That is the part that still doesn't make sense to me. How is PsychoPath > > determining what the "default function namespace" is? Magic? :-) We don't > > set it anywhere. > > The "default function namespace" is set to > http://www.w3.org/2005/xpath-functions by default in PsychoPath. I am > currently not sure, if PsychoPath can override this default via some > API of it's own. If it can override this default, I am not sure, what > it needs to do with any other default function namespace. I need to > check this with the PsychoPath team. I can get back with an answer to > this, after some time. > > But for now, this doesn't seem to be problem for Xerces-J, as we are > able to comply to XSD 1.1 spec, with this particular feature of > PsychoPath. > > > Put another way, if XML Schema provided a way for users to specify the > > default function namespace (e.g. another attribute like > > xpathDefaultNamespace but applies to function names instead of element > > names) how could you set it with PsychoPath? Is this something that's > > missing from its API? > > I think, ability to set any arbitrary "default function namespace" is > presently missing in PsychoPath. The default function namespace is > presently hard coded as, http://www.w3.org/2005/xpath-functions in > PsychoPath, and it seems to me that it cannot be overridden via some > PsychoPath API. > > But it seems to me, this doesn't affect Xerces-J presently. User's > certainly seem to be unaffected by this PsychoPath feature, while > writing XSD 1.1 schemas. > > -- > Regards, > Mukul Gandhi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
