Hi Michael, Thanks for your reply, and confirming that this issue requires a fix.
I'll be working to fix this one, with Xerces assertions and hoping to submit to Xerces forum asap, for evaluating the fix. I'll post any further questions related to this topic, in case I might have doubts. On Thu, Nov 12, 2009 at 2:35 AM, Michael Glavassevich <[email protected]> wrote: > Hi Mukul, > > As you've noted "http://www.w3.org/2001/XMLSchema" can be bound to other > prefixes than "xs". Also, "xs" could be bound to something other than > "http://www.w3.org/2001/XMLSchema" or not be declared at all. > > We should not be hard-coding the namespace bindings. For each XPath > expression they should be determined from the namespace context of the > schema we're processing and I believe also the and the > "xpathDefaultNamespace" attribute which might be on the "assertion" or > "schema" element if the assertion doesn't have one. Doing anything else is > incorrect. > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [email protected] > E-mail: [email protected] -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
