简体   繁体   中英

In xquery when fn:upper-case() with apostrophe ", single quote receiving error

In Xquery for the using the function fn:upper-case when we use apostrophe (') and double quotes (") getting below parser error. please let me know if any inputs on this error.

earch failed to execute, please check XQuery for possible issues: query:1:104:XQUERY_PARSE_ERROR: query:1:104:XQUERY_PARSE_ERROR: illegal entity reference: unexpected 'Q', expected &, >, <, ', or a character reference (XPST0003) query:1:114:XQUERY_PARSE_ERROR: illegal entity reference: unexpected 'Q', expected &, >, <, ', or a character reference (XPST0003) , Original message: illegal entity reference: unexpected 'Q', expected &, >, <, ', or a character reference (XPST0003) for $elem in /CSCHULMAN_DEV/CSCHULMAN_IA_INVOICE/ROW where contains(fn:upper-case($elem/ONSDES) ,'ERR/"ABD/"') return $elem -------------------------------------------------------------------

听起来好像您的 XQuery 代码有一个带有序列&Q的字符串文字,这违反了语法规则并且需要是&amp;Q

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM