Can not expand NS prefix to URI for decimal-format #1

Bug #1167643 reported by Paul J. Lucas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Dana Florescu

Bug Description

The FOTS test numberformat83:

  declare namespace a = "http://a.ns/";
  declare namespace b = "http://b.ns/";
  declare decimal-format x:one decimal-separator="." grouping-separator="," ;
  declare decimal-format y:one decimal-separator="," grouping-separator="." ;

  format-number( 12.34, '0.000,00',
    concat( if (current-date() lt xs:date('1900-01-01')) then ' a' else ' b',
            ':one ')
  )

causes Zorba to yield:

  "x": can not expand namespace prefix to URI

The bug is not in the formatting of numbers, but rather in how namespaces are resolved.

Tags: fots
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Either this bug or bug #1167641 also affects FOTS test numberformat88.

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.