XMLNULLSSTRIP and XMLNULLSBLANK (JANUS DEFINE parameters)

From m204wiki
Jump to navigation Jump to search

If nulls in sent screen XML, strip them or replace with blanks

XMLNULLSSTRIP and XMLNULLSBLANK 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.

XMLNULLSSTRIP strips any null characters in the XML to be sent. XMLNULLSBLANK replaces any nulls with blanks.

The XMLSCREEN and NOXMLSCREEN parameters indicate whether the output format of 3270 screens that Janus Web Legacy Support converts is XML or XHTML, respectively. The XMLNULLSCANCEL and XMLNULLSSEND parameters indicate whether or not to send converted XML that contains nulls.

Alternatives or overrides to specifying the XMLNULLSSTRIP and XMLNULLSBLANK 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 XMLNULLSSTRIP and XMLNULLSBLANK parameters are available in Sirius Mods Version 8.1 and later.

Valid only for WEBSERV ports.

See also