Reading xml tags from xpathsnippet. Hi i'm gettting the following

Reading xml tags from xpathsnippet.

Hi i'm gettting the following error when i give url for snippet argument in the xpathsnippet function.
"Error evaluating function 'xpathsnippet' : An error occurred while trying to parse the XML stream."
Expression:
xpathsnippet(
snippet: "www1.nyc.gov/.../finder.xml",
expression: "/services/service"
)

I have modified the Expression as below
rule input:service(Text)
expression:
xpathsnippet(
snippet: ri!service,
expression: "/services/service"
)

With the modified expression I'm getting the Required Data, Can any one help me Why i'm getting the error when i use URL for snippet argument. I'm was trying in 7.8 version.
Thanks in advance.

OriginalPostID-219637

OriginalPostID-219637

  Discussion posts and replies are publicly visible