Hi,

  I'm using xerces 1.5.2 under Linux. I've noticed something strange
when toggling
schemas on a DOM parser.

Take this sample document:

<foo:data xmlns="http://www.bar.org/schemas";
          xmlns:foo="http://www.foo.org/schemas";
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://www.bar.org/schemas bar.xsd">
  <test>
    <foo:blah/>
  </text>
</foo:data>

When I schemas are enabled (setDoSchem(true)) the foo:blah node will
have node
name="blah", and namespaceURI="http://www.foo.org/schemas";. When schemas
are
disabled (setDoSchema(false)) the foo:blah node will have node
name="foo:blah"
and namespaceURI="http://www.foo.org/schemas";. Why the difference?

Duncan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to