OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] External entities

[ Lists Home | Date Index | Thread Index ]

Gustaf Liljegren scripsit:

> <?xml version="1.0"?>
> <!ENTITY alef "&#x05D0;">
> ...
> 
> And here's the document entity mydoc.xml:
> 
> <?xml version="1.0"?>
> <!DOCTYPE doc [
> <!ENTITY hebrew SYSTEM "hebrew.ent">
> ]>

It needs to be not "hebrew" but "% hebrew", and you need to
actually invoke the parameter entity by adding "%hebrew;"
at the end of the DOCTYPE declaration.

> What kind of entity is "alef"? I know it's a general entity, but that's not
> precice enough, and "external general entity" is the whole file.

There is no standard terminology based on the place where an entity is
declared.  I use the term "internal general entity externally declared",
and likewise for the other three possibilities.

-- 
Even a refrigerator can conform to the XML      John Cowan
Infoset, as long as it has a door sticker       jcowan@reutershealth.com
saying "No information items inside".           http://www.reutershealth.com
        --Eve Maler                             http://www.ccil.org/~cowan

  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS