XMLNULLSCANCEL and XMLNULLSSEND (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "<span class="pageSubtitle">If nulls in screen XML, cancel request or replace with blanks</span> <var>XMLNULLSCANCEL</var> and <var>XMLNULLSSEND</var> are parameters on <var>[...")
 
m (add displaytitle)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="pageSubtitle">If nulls in screen XML, cancel request or replace with blanks</span>
{{DISPLAYTITLE:XMLNULLSCANCEL and XMLNULLSSEND}}
<span class="pageSubtitle">If nulls in screen XML, cancel request or send anyway</span>


<var>XMLNULLSCANCEL</var> and <var>XMLNULLSSEND</var> are parameters on <var>[[JANUS DEFINE]]</var> that affect the behavior of <var class="product">[[Janus Web Legacy XML Support]]</var> screens if a null (X'00') character is encountered in the 3270 datastream that is converted to XML.
<var>XMLNULLSCANCEL</var> and <var>XMLNULLSSEND</var> are parameters on <var>[[JANUS DEFINE]]</var> that affect the behavior of <var class="product">[[Janus Web Legacy XML Support]]</var> screens if a null (X'00') character is encountered in the 3270 datastream that is converted to XML.

Latest revision as of 00:17, 8 June 2016

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