[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Resources for AtomPub parser validation



Thomas Broyer wrote:
> On Tue, Jul 1, 2008 at 5:01 AM, Erik Wilde wrote:
> > "copy;" you mean, right?
> >
> >> Have I been living a lie all these years by putting a semi-colon 
> >> after my entities like a sucker?
> >
> > no. but browser try to be smart.
> 
> Isn't that actually part of SGML? (I know browsers never used 
> an SGML parser, but if it's part of SGML, it is part of HTML)

In SGML you need to include the semicolon, just like in XML. If you always
use & when you want an ampersand and you always append the semicolon to
your entity references , you won't have to worry about this problem.

Regards,
Brian