xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Re: Yet another crimson DTD bug
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Steve Loughran <steve.loughran AT gmail.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Re: Yet another crimson DTD bug
- Date: Fri, 08 Apr 2005 09:23:10 -0400
I think I finally figured out how to use Locator to determine whether we're in the internal or external DTD subset. Basically XOM now compares the document base URL (system ID) to the system ID provided by Locator.getSystemID() in each declaration callback such as elementDecl. If they match we;'re in the internal DTD subset. if they don't, then we're in the external DTD subset.
This seems to work. i.e. all the tests pass. However, there may be unexpected side effects, so if anyone notices anything else breaking, please holler.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] Yet another crimson DTD bug,
Wolfgang Hoschek, 04/07/2005
-
[XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/07/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/07/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Steve Loughran, 04/08/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/08/2005
- Re: [XOM-interest] Re: Yet another crimson DTD bug, Steve Loughran, 04/08/2005
- Re: [XOM-interest] Re: Yet another crimson DTD bug, Elliotte Rusty Harold, 04/08/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/08/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Steve Loughran, 04/08/2005
-
Re: [XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/07/2005
-
[XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/07/2005
- Re: [XOM-interest] Re: Yet another crimson DTD bug, Elliotte Rusty Harold, 04/07/2005
- <Possible follow-up(s)>
- [XOM-interest] Yet another crimson DTD bug, Wolfgang Hoschek, 04/07/2005
-
[XOM-interest] Re: Yet another crimson DTD bug,
Elliotte Rusty Harold, 04/07/2005
Archive powered by MHonArc 2.6.24.