Re: [Lazarus] DTD ENTITY question

2010-05-31 Thread Adem
On 2010-05-30 23:39, Sergei Gorelkin wrote: Adem wrote: I am writing a general parser for DTD files and have made some headway. The FCL xml parser (xmlread unit) can parse XML-conformant DTD files for several years already. I should've said a general SGML parser --not just a subset of it

Re: [Lazarus] DTD ENTITY question

2010-05-31 Thread Sergei Gorelkin
Adem wrote: What is the general name for the adding stuff after the parameter definition? The tag !ENTITY % name PUBLIC foo bar declares the entity, and %name; is used to actually include it. IOW, the example above has already defined '%HTMLlat1;' so what is the point in adding (seemingly

[Lazarus] DTD ENTITY question

2010-05-30 Thread Adem
I am writing a general parser for DTD files and have made some headway. I need to know the general (canonical?) name for '*%HTMLlat1*;' at the end of the following line: !ENTITY % HTMLlat1 PUBLIC -//W3C//ENTITIES Latin1//EN//HTML HTMLlat1.ent*%HTMLlat1*; I don't seem to be able to find in

Re: [Lazarus] DTD ENTITY question

2010-05-30 Thread Sergei Gorelkin
Adem wrote: I am writing a general parser for DTD files and have made some headway. The FCL xml parser (xmlread unit) can parse XML-conformant DTD files for several years already. I need to know the general (canonical?) name for '*%HTMLlat1*;' at the end of the following line: !ENTITY %