Download - CBT Tape

Transcript
In spite of the similarity between folders and XML elements there
are several XML constructs that cannot be used within folders
and cannot easily be translated to the syntax allowed in folders.
These unsupported constructs include:
•
Comments.
•
Processing instructions.
•
CDATA sections.
•
Declarations.
•
White space handling.
•
Attribute value normalization.
•
Language identification.
Compared with general XML it is another fundamental restriction
of the folder syntax that actual content can only be conveyed
using property values. Intermixed markup and content as used
in the XML element <tag1>value<tag2></tag2></tag1> does
not conform to the folder syntax, because tag1 cannot be
interpreted as a folder, group, or property.
USING THE MQRFH2 WITH WMQI
After receiving a message containing an MQRFH2, WMQI
invokes its MQRFH2 parser to interpret the header. In addition to
the fixed part of the MQRFH2 this parser lets you navigate and
manipulate the folder structures contained in NameValueData
fields. According to the conventions defined by WMQI the
MQRFH2 can also carry a description of the message contents
and publish/subscribe commands.
To refer to application data contained in a folder the logical
message model provided by WMQI can be used. According to
this model the MQRFH2 folders, groups, and properties are
syntax elements of the logical message. (More precisely, folders
and groups are name elements, whereas properties are value
elements.) Because the relationship between these syntax
40
© 2003. Xephon UK telephone 01635 33848, fax 01635 38345. USA telephone (303) 410 9344, fax (303) 438 0290.