Is this C++ for Java? In either case, namespace processing would have to be
enabled in order for this to be considered an error.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



[EMAIL PROTECTED] on 03/07/2000 12:23:01 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:   Robert [EMAIL PROTECTED]
Subject:  Is this xml well formed.



A user is attempting an XPATH expression based on the following xml.  He's
attempting to set the context node to "s:bla" and trying to get the element
matching the namespace "./h:baz". This xpath returns no result node - which
is correct,  XT and other XML processors, flag the error that h for h:baz
is undefined. Should we be flagging the undefined namespace as well too.

   <?xml version="1.0"?>
   <s:bla xmlns:s="some-uri">
   <h:foo xmlns:h="some-uri">
   1.1
   </h:foo>
   <h:baz>
   2.5
   </h:baz>
   </s:bla>



Paul Dick
Xalan QE




Reply via email to