xmerl_xpath:string error
tty@REDACTED
tty@REDACTED
Wed Feb 23 22:38:22 CET 2005
Hello,
I am using xmerl from R10B-3 and might have encounted an error.
Basically if I have two xmlElements nested together xmerl_path does not travers down the first element.
The included xpath_err.erl file is the Erlang code which demonstrates this. The result of running the code is shown below.
=======================
1> xpath_err:ok_test().
>From xmerl_xpath:string/2
E=[{xmlElement,responseStatus,
responseStatus,
[],
{xmlNamespace,[],[]},
[{'RESPONSE',1}],
1,
[{xmlAttribute,status,[],[],[],[],1,[],"1",false}],
[],
[],
"/home/tee/local/erlang/lib/xmerl-0.20/doc/examples",
undeclared}]
ok
2> xpath_err:err_test().
>From xmerl_xpath:string/2
E=[]
ok
========================
Regards
Tee Teoh
tty@REDACTED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xpath_err.erl
Type: application/octet-stream
Size: 951 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050223/aae4b879/attachment.obj>
More information about the erlang-questions
mailing list