I hope I'm not too late ...


> From my point of view it does not make sence to cache internal DTD as
> it is per document. It makes sence to cache just external entities
> referenced from it.

In DTD, there is a rule that the first declared entity overrides other
declarations with the same name.  So if we try to cache one external
entity, you cannot do much parsing because any parameter entity can be
possibly overrided by the internal DTD subset.

So I think the minimum unit of DTD grammar is the whole DTD grammar.


Also, as related issue, I think it's very difficult to cache XML Schema
grammar at namespace-level. And why does this necessary after all? I
haven't seen such a use case before.





regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to