how can it find the dtd !!

[email protected]
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
> Hi,
> 
> I am editing a file begening with 
> <?xml version="1.0" encoding="iso-8859-15"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> 
> when i try to get General DTD info from the DTD menu i get :
>             Doctype: html
>             Element types: 77
>             Entities: 253
>             Parameter entities: 56
>             Files used:
> /usr/share/sgml/html/dtd/xml/1.0/xhtml-special.ent
>                        
> /usr/share/sgml/html/dtd/xml/1.0/xhtml-symbol.ent
>                         /usr/share/sgml/html/dtd/xml/1.0/xhtml-lat1.ent 
>       
>                        
> /usr/share/sgml/html/dtd/xml/1.0/xhtml1-strict.dtd
> 
> all this could seems perfect, but, i have in my .emacs file :
> (setq sgml-local-catalog nil)
> (setq sgml-catalog-file nil)
> (setq sgml-system-identifiers-are-preferred nil)
> (setq sgml-public-map nil)
> (setq sgml-system-path nil)
> 
> and if i'm not wrong :
> When PSGML is looking for the file containing an external entity,
> the following things will be tried in order :
> 
> - if there is a SYSTEM identifier, try it as a file name
>   but, i have no "-//W3C//DTD XHTML 1.0 Strict//EN" file
> 
> - look thru each catalog in sgml-local-catalogs
>   sgml-local-catalogs is nil
> 
> - look thru each catalog in sgml-catalog-files
>   sgml-catalog-files is nil
> 
> - try the entries in sgml-public-map
>   which is empty
> 
> so i wonder how it can find the files for the dtd ?
> is there some other catalog related variables that are not mentioned
> in
> the doc ?
> 
> if i'm correct (i know this from the archives of the ml) psgml is not
> able to
> load "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" by itself
> (anyway it doesnt match the files it shows in DTD info)
> 
> Thank you very much for your help
> 
> Edouard
> 
> PS : i'm not trying to disable this cool feature, just trying to
> understand what each variable does.
> 

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.