Summary: | Use a public identifier for fonts.conf | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Owen Taylor <otaylor> |
Component: | library | Assignee: | fontconfig-bugs |
Status: | RESOLVED MOVED | QA Contact: | Behdad Esfahbod <freedesktop> |
Severity: | normal | ||
Priority: | high | CC: | akira, fonts-bugs |
Version: | 2.2 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Owen Taylor
2004-09-02 14:02:17 UTC
You're way beyond my understanding of DTDs. Is there some formal body to register public DTDs with? I still have no idea how to make this work; can you present a more complete recipe for this change? This seems to be a useful link: http://www.tldp.org/LDP/LDP-Author-Guide/html/tools-validate.html As far as I know 80% of the DTDs found on the web use whatever ID their author cooked by itself. xsd is a bit saner, you can use URIs and DNS warrants they're unique I read the XML 1.1 spec, both the identifier and the URL are required. Regarding public-id's, the second part of this has a formal definition of the syntax: http://xml.coverpages.org/tauber-fpi.html There are also examples in section 1.2 of this: http://www.faqs.org/rfcs/rfc3151.html So I suggest one of these: -//FDO//DTD Fontconfig Font Configuration Language @DTD_VER@//EN// +//IDN freedesktop.org//DTD Fontconfig Font Configuration Language @DTD_VER@//EN// +//IDN fontconfig.org//DTD Font Configuration Language @DTD_VER@//EN// Where @DTD_VER@@ is incremented everytime the DTD changes. Copies of all versions should be available online. I don't really know DTD, it is old, but I feel it does not require a resolvable URL anywhere Fow xsds this is even more clear, take a look at "Should the targetNamespace be a URL or a URN?" on http://www.xfront.com/BestPracticesHomepage.html When in doubt ask xml-dev on http://www.xml.org/xml-dev The people here are nice and knowledgeable (they wrote the specs) Looking at the catalog spec I'm not so sure it needs a different identifier. This question is probably best to ask on the xml list where people that write reference books can answer http://www.xml.org/xml-dev/ -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/4. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.