TURN RECORD: TWO DEFECTS FIXED FROM THE DEC 2.3 SOURCE; DISPLAY STILL FAILS.

A) CREATE REQUEST LAYOUT (from include/XieProto.h, xieCreatePhotoReq)
     +4 type  +8 id  +12 width  +16 height  +20 aspect_ratio(8)
     +28 levels[3]  +40 #components  +41 component_mapping
     +42 pixel_progression  +43 line_progression  +44 polarity
   I had been sending levels[0]=1 (=> 0 bits/pixel) and #components=0.
   Corrected to levels=(2,2,2), #components=1, XieK_Bitonal(1),
   BandByPixel(1)/BandByLine(2), polarity=1.
   VERIFIED: QueryResource now reports levels=(2,...) and comp_COUNT=1.

B) XieFloatRec ENCODING (from lib/xie/XieFloat.c, MiEncodeDouble)
     ptr->m_sign   = (mantissa >= 0.0)        <- 1 means POSITIVE
     ptr->mantissa = 2^(8*sizeof-1) * f + 0.5, then <<= 1
     ptr->e_sign   = (exponent >= 0)
     ptr->exponent = |exponent|
   So MiEncodeDouble(0.0) is bytes 01 01 00 00 | 00 00 00 00  (= words
   0x00000101, 0x00000000), NOT all zeros as I had been sending for
   match_limit/gray_limit in every export.

C) RESULT WITH BOTH FIXED
     create levels=(2,...) comp_COUNT=1
     SetTransport(mode=3, org=1)  -> ok
     PutTile                      -> ok
     Export (with properly encoded match/gray) -> err2
     window unchanged; white vs black AE = 2040 (Terminal Manager + cursor)
     src_base non-zero (002909B0 / 0092B210)

D) WHAT THE SERVER SOURCE SAYS ABOUT THE REMAINING err2
   XieDisplay.c ProcExport has exactly ONE BadValue: ValueOkIf_(w>0 && h>0),
   and that check is measured passing.  CreateExportContext contains no
   ValueOkIf_ at all; XieDisplay.c contains no BadValue literal; Export()
   returns Success when photo_lut_id == 0 (no LUT).  SmiConvert's unsupported
   path returns BadImplementation(17), not 2.
   So the 2 is produced in the Format/CreateExportContext callees, which is now
   a small, readable set.

STATUS.  NO client-chosen XIE image.  xshow (core X) remains the only viewer
that has displayed an image.

SOURCE NOW AVAILABLE (copied to xie/docs/dec/xie23-src/, 3.5 MB):
  include/, lib/xie/ (client, 9,723 lines), server/xie/ (server incl. smi/),
  decimage-ids/ (DEC's own pipeline assembler ids_build_xie_pipe.c).
