Lists Home |
Date Index |
> This is perfectly legal-- however there are a lot of situations where
> the validity of a document is assumed by a business process.
> For example
> you and a trading partner are passing documents back and forth-- that
> trading partner assumes your document is constructed according to an
> agreed on DTD-- validity insures this.
Actually, trading partners invariably require more than validity. Validity
does NOT ensure conformance to "an agreed on DTD". A document is valid if it
conforms to any old DTD that it happens to reference.
This is a real practical problem because most XML parsers don't give you an
easy way of validating an incoming document against a specific DTD.