Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in August and this forum will be retired.

I have a problem when using OPENXML function over data containing xml-encoding unicode character. The following example returns error: Control character in XML output!

select * from openxml( '<root><element>&#xE6;</element></root>', '/root') with (element xml 'element/@mp:xmltext');

But this one without metaproperty: @mp:xmltext is correct:

select * from openxml( '<root><element>&#xE6;</element></root>', '/root') with (element xml 'element');

The last character, which does not cause a problem is &#xB8.

Used server dbsrv11.exe runnig on W2003 and the database was generated by command:
dbinit.exe -a -p 4096 -ze cp1250 -z uca(locale=sk)

Thank you for help

asked 31 Aug '12, 10:39

Jan24's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 31 Aug '12, 10:39

question was seen: 2,993 times

last updated: 31 Aug '12, 10:39