Dean wrote:

I would be against any tying of the validator to the DOM. This would be
against the clean layering of the system. Also, you are assuming that DOM
would be the only place in which such stuff might be stored for later
validation, which is probably not true. It may just be that either the hit
must be taken to have the validator revalidate against a lexical
representation, or some abstraction must be provided via which specialized
representations can be made available to the validator (which might be a
big pain, I dunno.) But I just don't think that we would want to get into
making the validators aware of the DOM itself.


Good point.  I was just talking out loud and haven't walked through any of
Xerces-J.  If that approach was taken, then an interface that would receive
the typed data could be defined.  Eventually a type-aware DOM could
implement that interface.

Reply via email to