RE: Which is correct, xt or SAXON?

Subject: RE: Which is correct, xt or SAXON?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 25 May 2000 13:23:02 +0100
> running this stylesheet over any XML input I see:
> 
> xt:
> <test value="<>"></test>
> 
> SAXON:
> <test value="<&gt;"></test>
> 
> I would like to think xt is correct, as that is the result I 
> need in my larger problem!
> 

The HTML 4.01 spec states: Similarly, authors should use "&gt;" (ASCII
decimal 62) in text instead of ">" to avoid problems with older user agents
that incorrectly perceive this as the end of a tag (tag close delimiter)
when it appears in quoted attribute values.

So although both products are "correct", I believe Saxon is following the
practice recommended by the authors of HTML 4.01.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread