- From: mozer <xmlizer@gmail.com>
- Date: Fri, 19 Jun 2009 21:16:40 +0200
- To: "Costello, Roger L." <costello@mitre.org>
- Cc: "xproc-dev@w3.org" <xproc-dev@w3.org>
No the fact that you CAN do it does inforce you to do it In XML for text content, you MUST escape "<" with < you MUST escape "&" with & but you MAY escape ">" with > you MAY escape "\"" with " you MAY escape "'" with ' So Calabash is ok and the Spec is ok too Xmlizer On Fri, Jun 19, 2009 at 9:13 PM, Costello, Roger L.<costello@mitre.org> wrote: > >> There's no need to escape > in XML > > Calabash does escape the > symbol. So is Calabash erroneous? > > /Roger > >> -----Original Message----- >> From: mozer [mailto:xmlizer@gmail.com] >> Sent: Friday, June 19, 2009 3:05 PM >> To: Costello, Roger L. >> Cc: xproc-dev@w3.org >> Subject: Re: Typo in the prose for p:escape-markup >> >> Roger, >> >> There's no need to escape > in XML >> >> Regards, >> >> Xmlizer >> >> On Fri, Jun 19, 2009 at 7:45 PM, Costello, Roger >> L.<costello@mitre.org> wrote: >> > >> > Hey Norm, >> > >> > The spec gives this example: >> > >> > The input: >> > >> > <description> >> > <div xmlns="http://www.w3.org/1999/xhtml"> >> > <p>This is a chunk of XHTML.</p> >> > </div> >> > </description> >> > >> > produces: >> > >> > <description> >> > <div xmlns="http://www.w3.org/1999/xhtml"> >> > <p>This is a chunk of XHTML.</p> >> > </div> >> > </description> >> > >> > I believe that all markup, including the ">" is escaped, >> correct? So the result should be: >> > >> > <description> >> > <div xmlns="http://www.w3.org/1999/xhtml"> >> > <p>This is a chunk of XHTML.</p> >> > </div> >> > </description> >> > >> > Correct? >> > >> > /Roger >> > >> > >> > >>
Received on Friday, 19 June 2009 19:17:17 UTC