Re: external entities

Yes, that's correct; ext is still a plain old internal entity. 
There are a number of places where declarations can occur and a 
number of indirections possible; regardless of the location, an 
internal entity declaration retains its essential nature.

	Eve

Junfeng Dong wrote:
> Hi Eve,
> 
> Thanks for your reply. Here is another question about external entities.
> An xml document is given below:
> 
> <!DOCTYPE Root [
> 	<!ENTITY % PE SYSTEM "pent.ent">
> 	%PE;
> ]>
> <Root att="&ext;" />
> 
> The content of file pent.ent is:
> 
> <!ELEMENT Root ANY>
> <!ATTLIST Root att NMTOKEN #IMPLIED>
> <!ENTITY ext "blah">
> 
> By definition, PE is an external parameter entity. How about entity ext?
> From your last message, it should be an internal ext, right?
> 
> Thanks,
> Junfeng
-- 
Eve Maler                                         +1 425 947 4522
Technology Director                           eve.maler @ sun.com
CTO Business Alliances group                Sun Microsystems, Inc.

Received on Thursday, 7 July 2005 19:49:19 UTC