Issue with xpathsnippet no support for German „Umlaute” like äöäÖÄÖ H

Issue with xpathsnippet no support for German „Umlaute” like äöäÖÄÖ

Hi.
If a got a XML like this:

?xml version=""1.0"" encoding=""UTF-8""?>
<Values>
<Value>
<Address>Bäckstreet 0</Address>
</Value>
<Value>
<Address>Backstreet 1</Address>
</Value>
</Values>

And use
xpathsnippet(MY_XML_LIKE_ABOVE "/Values/Value/Address/text()")

Evaluating with xpathsnipped fails with :
“The rule contains an expression that cannot be tested”

If I remove the “ä” everything goes well.
Any ideas ?
Many thans in advance
...

OriginalPostID-105295

OriginalPostID-105295

  Discussion posts and replies are publicly visible

Parents
  • Hi Andreasw, I tired with ISO-8859-8 but it didn't work and I guess ISO-8859 is specific to Latin Languages. Actually I tried to replicate your sample but still I am getting "B?ckstreet 0, Backstreet 1". I am on cloud not sure if any configuration is missing.
    load
    (
    local!xml: "<?xml version=""1.0"" encoding=""ISO-8859-1""?><Values><Value><Address>Bäckstreet 0</Address></Value><Value><Address>Backstreet 1</Address></Value></Values>",
    xpathsnippet(local!xml, "/Values/Value/Address/text()")
    )
Reply
  • Hi Andreasw, I tired with ISO-8859-8 but it didn't work and I guess ISO-8859 is specific to Latin Languages. Actually I tried to replicate your sample but still I am getting "B?ckstreet 0, Backstreet 1". I am on cloud not sure if any configuration is missing.
    load
    (
    local!xml: "<?xml version=""1.0"" encoding=""ISO-8859-1""?><Values><Value><Address>Bäckstreet 0</Address></Value><Value><Address>Backstreet 1</Address></Value></Values>",
    xpathsnippet(local!xml, "/Values/Value/Address/text()")
    )
Children
No Data