This gets better and better every day. *LOL* Per HTTP 1.0-1.2 specifications, ">" and "<" are not exempt from content encoding requirements. They are protected characters and must be treated as such when sending content. Light bulb going off yet?
If you must use a ">" or "<" character as a non-elemental string, in ANY media, transferred through an HTTP 1.0 to 1.2 compliant application then you MUST URL-encode them as <, > or their equiv. charset hex values as %XX;. Comments are an exception to this rule, but you can still have problems with general parsing if you put protected characters in the comments. I always url-encode my non-alpha-numeric strings. Glen http://picksource.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of David Beahm > Sent: Thursday, September 16, 2004 10:16 AM > To: [EMAIL PROTECTED] > Subject: Re: [U2] [UV] Processing a string > > > I agree, inside of a tag the Unicode equivalent is, if not required, > certainly prudent: > > <!ENTITY % xx '<zz;'> > > Think outside the tag. ;) > > Consider: > > <thisdata>"here's some text saying 2 < 3 > 2"</thisdata> > > If you FIELD() or EREPLACE or whatever on "<" or ">" then you're going > to have problems when a document contains them in text. > > <quoted> > 2.2 Characters > > [Definition: A parsed entity contains text, a sequence of characters, > which may represent markup or character data.] [Definition: A character > is an atomic unit of text as specified by ISO/IEC 10646:2000 [ISO/IEC > 10646]. Legal characters are tab, carriage return, line feed, and the > legal characters of Unicode and ISO/IEC 10646. The versions of these > standards cited in A.1 Normative References were current at the time > this document was prepared. New characters may be added to these > standards by amendments or new editions. Consequently, XML processors > MUST accept any character in the range specified for Char. ] > </quoted> > > Ref: http://www.w3.org/TR/2004/REC-xml-20040204/ > > Best, > David Beahm > > Kevin King wrote: > > > Is it not against the XML standard to have a quoted string containing > > "<" or ">" in a tag? > ------- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/