Re: DTD

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Organization Geek Central
Message-ID <[email protected]>
On Sun, 1 Apr 2018 15:01:15 +0100, Peter Flynn wrote:

> This reflects the relatively light weight of markup needed to
> describe the application data. It's basically a set of containers, so
> all it needs is the names: the content is just strings.

Not for things like

    <!ELEMENT int (#PCDATA)>
    <!ELEMENT double (#PCDATA)>

The content for these is *not* “just strings”.

> A DTD is just a spec. Its principal use is to 
> guarantee that the files which claim to conform to it really do 
> (validation).

Given that it will accept files that are not valid Fontconfig
configurations, the validation function seems useless.

> In either case, hardly anyone nowadays actually codes a DTD or Schema
> by hand; most are machine-generated from a better and more
> comprehensive language like Relax-NG or ODD.

Could you more accurately specify the Fontconfig config syntax in one of
these?
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
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.