XMLNULLSCANCEL and XMLNULLSSEND (JANUS DEFINE parameters)

From m204wiki
Revision as of 00:17, 8 June 2016 by JAL (talk | contribs) (add displaytitle)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If nulls in screen XML, cancel request or send anyway

XMLNULLSCANCEL and XMLNULLSSEND are parameters on JANUS DEFINE that affect the behavior of Janus Web Legacy XML Support screens if a null (X'00') character is encountered in the 3270 datastream that is converted to XML.

XMLNULLSCANCEL, the default, cancels the request. XMLNULLSSEND allows the null characters. Although, strictly speaking, XML is not supposed to contain nulls, many XML parsers tolerate them. If the output is sent, additional parameter options for handling the nulls are XMLNULLSSTRIP and XMLNULLSBLANK.

The XMLSCREEN and NOXMLSCREEN parameters indicate whether the output format of 3270 screens that Janus Web Legacy Support converts is XML or XHTML, respectively.

Alternatives or overrides to specifying the XMLNULLSCANCEL and XMLNULLSSEND parameters specified on the JANUS DEFINE command for the port are these on a per-URL basis:

  • Using the like-named parameters in JANUS WEB SCREEN rules.
  • Using the like-named parameters in $Web_Screen calls.
  • Using the "options" attribute on incoming XML.

The XMLNULLSCANCEL and XMLNULLSSEND parameters are available in Sirius Mods Version 8.1 and later.

Valid only for WEBSERV ports.

See also