ZORBA_NO_ICU and fn:codepoints-to-string()

Bug #867124 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Invalid
Medium
Paul J. Lucas

Bug Description

When Zorba is compiled with ZORBA_NO_ICU=ON, the function fn:codepoints-to-string() defined in strings_impl.cpp won't compile because it makes reference to utf8::encode() that takes a unicode::code_point argument. When ZORBA_NO_ICU=ON, the unicode namespace is not declared, so of course code_point is not declared.

The solution suggested on zorba-coders was to disable (not compile) fn:codepoints-to-string() -- and probably any other XQuery function that involves code-points.

Changed in zorba:
milestone: none → 2.7
assignee: Matthias Brantner (matthias-brantner) → Paul J. Lucas (paul-lucas)
description: updated
summary: - ZORBA_NO_UNICODE and fn:codepoints-to-string()
+ ZORBA_NO_ICU and fn:codepoints-to-string()
Changed in zorba:
status: New → Invalid
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

The bug is currently wrong. unicode::code_point is defined to be uint32_t when ZORBA_NO_ICU=ON.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.