xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: how do I detect internal subset when part of external subset?
Date Fri, 07 Apr 2006 23:16:42 GMT
At 05:39 AM 4/7/2006, you wrote:
 >Jacob Kjome wrote:
 >
 >> In any case, I think I've got the internal subset stuff working, except
 >> for one thing.  Take the following document...
 >>
 >> <?xml version="1.0" standalone="no"?>
 >> <!DOCTYPE document SYSTEM "document.dtd" [
 >>   <!ENTITY head SYSTEM "header.xml">
 >>   <!ENTITY foot SYSTEM "footer.xml">
 >>   <!ENTITY torso SYSTEM "body.xml">
 >>   <!ENTITY erh "Elliotte Rusty Harold">
 >> ]>
 >> <document>
 >>   &head; &torso; &foot;
 >> </document>
 >>
 >> The only part of this that ends up in the internal subset is the "erh"
 >> entity.  That is, the internalEntityDecl() method gets called only for
 >> the "erh" entity and is not notified at all for the other entities.
 >
 >
 >The first three are external entity declarations. (i.e. even though
 >they;re in the internal DTD subset they declare external entities.)
 >Perhaps there's an externalEntityDecl method hiding somewhere?
 >

Yep, that's what confused me.  I figured it out shortly after I sent the email.

later,

Jake

 >--
 >Elliotte Rusty Harold  elharo@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
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
 >For additional commands, e-mail: general-help@xml.apache.org
 >
 >
 > 


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message