Re: [xml] SAX-like parsing of DTDs
- From: Mark S Petrovic <petrovic corp earthlink net>
- To: Daniel Veillard <veillard redhat com>
- Cc: xml gnome org
- Subject: Re: [xml] SAX-like parsing of DTDs
- Date: Thu, 27 Feb 2003 12:34:31 -0800
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
<!ATTLIST ...
&ext;
<!ATTLIST ...
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.
Mark
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]