Re: [xml] SAX-like parsing of DTDs

On 27Feb, Daniel Veillard wrote:
On Thu, Feb 27, 2003 at 09:05:51AM -0800, Mark S Petrovic wrote:
Yes, I remember well, and respect that fact.  However, I am forced
to deal with an existing infrastructure that demands I know the order.
You may argue that this is not, then, XML according to the spirit of XML.
I will not contest - nor can I reasonably hope to change my condition.

  The problem is the way ATTLIST will be processed may not match
your expectations. You will get the callbacks in the order they get
processed in the DTD which may not match the order found in a single
external parsed entity. If you have




 and that ext contains declarations then they will be intermixed.
Also some of the <!ATTLIST ... found may not be reported if they
are in IGNORE'd conditional sections.

This is useful, and thank you.  Eventually the student sees.



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine
xml mailing list, project page
xml gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]