Anonymous - 2002-03-05

Logged In: YES
user_id=44117

Events for schema-du-jour (there are several families
now in widespread use) can and should be cleanly layered
on top of the SAX core.

The analogy to DTDs is flawed (though easily understood)
since DTDs are part of XML, and Schemas are fully layered.
(Just as Schema implementations should be layered.)

I'll leave this RFE open for now. One issue is that
nobody has proposed a set of clean SAX event handlers
for reporting schema events. Given that, there'd need
to be be at least one implementation supporting those
handlers. The RFE can get nowhere without a concrete
proposal for the event handlers.

The way I'd partition this is with one layer handling
lower level data typing issues, corresponding to Part 2
of the W3C schema spec (which is also used by RELAX-NG
and other schema frameworks). A second layer would
handle the variety of higher level schema frameworks,
such as RELAX-NG and W3C schema part 1. The first layer
might get a lot more use ... :)