[xslt] Are curly braces XSLT conformant?

 Dear Daniel,

 I am no longer sure that libxslt (version 10030) handling of curly braces
 in element attributes is comformant to XSLT 1.0, Section 7.6.2:

 Stylesheet:          Output:             Should be (???):   Conclusion(???):

 <e a="$x"/>          <e a="$x"/>        <e a="$x"/>         OK
 <e a="{$x"/>         <e a="{$x"/>       <e a="{$x"/>        OK
 <e a="$x}"/>         <e a="$x}"/>       error               __
 <e a="{$x}"/>        <e a="v"/>         <e a="v"/>          OK
 <e a="{{$x"/>        <e a="{{$x"/>      <e a="{$x"/>        __
 <e a="$x}}"/>        <e a="$x}}"/>      <e a="$x}"/>        __
 <e a="{{$x}"/>       <e a="{$x"/>       error               __
 <e a="{$x}}"/>       <e a="v}"/>        error               __
 <e a="{{$x}}"/>      <e a="{$x}"/>      <e a="{$x}"/>       OK

 where $x = 'v'

 The reccomendation is so confused that I am not exactly sure of
 what the output should be. Thus the above table just reflects my
 understanding and that of my colleagues. Can somebody confirm/reject
 my examples?

					Really confused,

Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@cs.unibo.it

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]