Processing model
SGML assumes:
Linear and monolithic processing
Presence of DTDs
XML assumes:
Lots of ad hoc processing
Possible absence of DTDs
OK not to retrieve external entities if not validating
SGML parser has:
Complex normalization and “ignore” rules for markup and whitespace
XML processor has:
Much simpler rules; less to normalize and ignore
Previous slide
Next slide
Back to first slide
View graphic version