Test 040: Testing RSP tags.

* Start tag (no parms), some text, end tag:

DEBUG:BODY:body.1 = ''; body.1 = body.1'some text'; body.0 = 1:YDOB
Before the tag
Start tag called, parms=""
Body called, parms="", body follows:
some text
That was the body
End tag called
after the tag


*Start tag (some parms), some text, end tag:

DEBUG:BODY:body.1 = ''; body.1 = body.1'some text'; body.0 = 1:YDOB
Before the tag
Start tag called, parms="some parms"
Body called, parms="some parms", body follows:
some text
That was the body
End tag called
after the tag


*Same as before, but multi-line body:

DEBUG:BODY:body.1 = ''; body.1 = body.1'some';body.2 = ''; body.2 = body.2'text'; body.0 = 2:YDOB
Before the tag
Start tag called, parms="some parms"
Body called, parms="some parms", body follows:
some text
That was the body
End tag called
after the tag


* Auto-end tag with parms:

DEBUG:BODY:body.1 = ''; body.0 = 1:YDOB
Before the tag
Start tag called, parms="some parms "
Body called, parms="some parms ", body follows:

That was the body
End tag called
after the tag


* Unmatched tag (should give two errors, one now and one at end-of file):


REXXTAGS: compilation error in /test-suite/test040.rsp at line 19: </test:anerror> is no matching end-tag for <test:test040> and was discarded.

REXXTAGS: compilation error in /test-suite/test040.rsp at line 22: Tag <test:test040> not closed.