[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xml-dev] Processing external DTD subset as part of DTD validation
> Our original idea was to wrap the DTD inside the
> prolog of a dummy document instance. The problem with this approach
> is that this way we would pass the declarations to the parser as an
> /internal/ DTD subset, which has different restrictions on the use of
> parameter entities than an external subset.
Then instead of wrapping, why not just reference the DTD (as an external
DTD) from a dummy document instance, and parse the dummy document instance?
Michael Kay
http://www.saxonica.com/
|