bin:shift
Joel Kalvesmaki <[email protected]> Fri, 18 Dec 2020 06:28:39 -0500
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CALPpAZ-FU8wyOUk9GXN_xOa_COpBYRvpiDuWm+a614vrWSwQNA@mail.gmail.com> |
In using bin:shift() I am getting some unexpected results. bin:shift(xs:base64Binary($i),1) $i = 'AfgA' expected = 'A/AA' actual = '//AA' Perhaps better seen in binary: input : 000000 011111 100000 000000 expected: 000000 111111 000000 000000 actual : 111111 111111 000000 000000 I've gotten this error with $i as Af4= and some other test values that begin Af, but AgAA returns what I expect (BAAA). I'm not certain if the problem is my own head (frequent occurrence) or Saxon's implementation of bin:shift(). Any ideas out there? jk -- Joel Kalvesmaki kalvesmaki.com _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help