Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How, exactly, do XML and SGML differ?

differ SGML XML
0
Posted

How, exactly, do XML and SGML differ?

0

First of all, XML leaves out many features of SGML (we’d list them, but the list would only make sense to a real SGML expert, and it appears as an appendix to the XML Specification). There are a few areas where XML and SGML really differ: • XML’s white space handling rules are much less elaborate than those of SGML. One effect is that in a few, rarely-encountered, cases, an XML processor will pass through a some white space (mostly line-ends) that an SGML processor will suppress. It is very unlikely that an XML author or user will ever notice this. • XML defines, for documents, the property of being well-formed; this does not really correspond to any SGML concept. • XML has a very specific built-in method for handling international (non-ASCII) text. It is compatible with SGML, but at the moment, few SGML processors are properly internationalized.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123