This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Which is correct, xt or SAXON?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]