Paul Gilmartin wrote:
I just got something like the following by accident:1PAGE 0001 - NOW SET TO GLOBAL ZONE DATE 08/14/05 TIME 01:06:25 SMP/E 33.07 SMPOUT OUTPUT RECEIVE FROMNETWORK( SERVER( SMPSRVR ) ... ). ---------- pw="abcde&fghij" GIM20313S ** THERE IS A SYNTAX ERROR IN THE CONTROL STATEMENT FROM DD STATEMENT SMPSRVR AT COLUMN 14. (That's not my real password.) So, I RTFM, which says: # 1.3 "SMP/E V3R3.0 Commands" __________________________________________________________________________________ 1.3 Syntax Rules for XML Statements [ ... ] * The XML markup characters, '<', '>', and '&', may not appear within a tag name or an attribute value. Ouch! So what if my password happens to contain one of these characters?
I should think it would be fine as long as the password appears in the value of an element and not as tag name or an attribute value. <password>over&over</password> - should be OK <login password="over&over" /> - should fail
HTML, which, like XML, is a descendant of SGML, provides the encodings "<", ">", and "&" for these three characters. Does XML provide nothing similar?
Yes, it does; but not, apparently, in the context of tag name or attribute value. Kind regards, -Steve Comstock ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

