mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
e74eedaa2e
* etc/schema/dotnet-appconfig.rnc: * etc/schema/dotnet-packages-config.rnc: * etc/schema/dotnet-packages-props.rnc: * etc/schema/dotnet-resx.rnc: * etc/schema/msbuild.rnc: * etc/schema/nuget.rnc: * etc/schema/nuspec.rnc: New files. * etc/schema/README: Document copyright status of above new files. * etc/schema/schemas.xml: Use above new files to support Mono/.NET development related XML files. This change was discussed in: https://lists.gnu.org/r/emacs-devel/2024-02/msg00638.html
97 lines
4.3 KiB
XML
97 lines
4.3 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2003-2004, 2007-2024 Free Software Foundation, Inc.
|
|
|
|
This file is part of GNU Emacs.
|
|
|
|
GNU Emacs is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
GNU Emacs is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
|
|
|
|
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
|
|
<transformURI fromPattern="*.xml" toPattern="*.rnc"/>
|
|
|
|
<uri pattern="*.xsl" typeId="XSLT"/>
|
|
<uri pattern="*.html" typeId="XHTML"/>
|
|
<uri pattern="*.rng" typeId="RELAX NG"/>
|
|
<uri pattern="*.rdf" typeId="RDF"/>
|
|
<uri pattern="*.dbk" typeId="DocBook"/>
|
|
|
|
<namespace ns="http://www.w3.org/1999/XSL/Transform" typeId="XSLT"/>
|
|
<namespace ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" typeId="RDF"/>
|
|
<namespace ns="http://www.w3.org/1999/xhtml" typeId="XHTML"/>
|
|
<namespace ns="http://relaxng.org/ns/structure/1.0" typeId="RELAX NG"/>
|
|
<namespace ns="http://thaiopensource.com/ns/locating-rules/1.0"
|
|
uri="locate.rnc"/>
|
|
<namespace ns="urn:oasis:names:tc:opendocument:xmlns:office:1.0" typeId="LibreOffice"/>
|
|
<namespace ns="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" typeId="LibreOffice"/>
|
|
<namespace ns="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" typeId="LibreOffice"/>
|
|
<namespace ns="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" typeId="OpenDocument Manifest"/>
|
|
|
|
<documentElement localName="stylesheet" typeId="XSLT"/>
|
|
<documentElement prefix="xsl" localName="transform" typeId="XSLT"/>
|
|
|
|
<documentElement localName="html" typeId="XHTML"/>
|
|
|
|
<documentElement localName="grammar" typeId="RELAX NG"/>
|
|
|
|
<documentElement prefix="" localName="article" typeId="DocBook"/>
|
|
<documentElement prefix="" localName="book" typeId="DocBook"/>
|
|
<documentElement prefix="" localName="chapter" typeId="DocBook"/>
|
|
<documentElement prefix="" localName="part" typeId="DocBook"/>
|
|
<documentElement prefix="" localName="refentry" typeId="DocBook"/>
|
|
<documentElement prefix="" localName="section" typeId="DocBook"/>
|
|
|
|
<documentElement localName="RDF" typeId="RDF"/>
|
|
<documentElement prefix="rdf" typeId="RDF"/>
|
|
|
|
<documentElement localName="locatingRules" uri="locate.rnc"/>
|
|
|
|
<typeId id="XSLT" uri="xslt.rnc"/>
|
|
<typeId id="RELAX NG" uri="relaxng.rnc"/>
|
|
<typeId id="XHTML" uri="xhtml.rnc"/>
|
|
<typeId id="DocBook" uri="docbook.rnc"/>
|
|
<typeId id="RDF" uri="rdfxml.rnc"/>
|
|
|
|
<documentElement prefix="office" typeId="OpenDocument"/>
|
|
<documentElement prefix="manifest" localName="manifest" typeId="OpenDocument Manifest"/>
|
|
<typeId id="LibreOffice" uri="OpenDocument-schema-v1.3+libreoffice.rnc"/>
|
|
<typeId id="OpenDocument Manifest" uri="od-manifest-schema-v1.2-os.rnc"/>
|
|
|
|
<!-- .net development related schemas -->
|
|
<uri pattern="nuget.config" typeId="Nuget Config" />
|
|
<typeId id="Nuget Config" uri="nuget.rnc" />
|
|
|
|
<uri pattern="*.nuspec" typeId="Nuget Spec" />
|
|
<namespace ns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" typeId="Nuget Spec" />
|
|
<typeId id="Nuget Spec" uri="nuspec.rnc" />
|
|
|
|
<uri pattern="web.config" typeId="Dotnet App Config" />
|
|
<uri pattern="app.config" typeId="Dotnet App Config" />
|
|
<namespace ns="http://schemas.microsoft.com/.NetConfiguration/v2.0" typeId="Dotnet App Config" />
|
|
<typeId id="Dotnet App Config" uri="dotnet-appconfig.rnc" />
|
|
|
|
<uri pattern="Directory.Packages.props" typeId="Dotnet Packages Props" />
|
|
<typeId id="Dotnet Packages Props" uri="dotnet-packages-props.rnc" />
|
|
|
|
<uri pattern="packages.config" typeId="Dotnet Packages Config" />
|
|
<typeId id="Dotnet Packages Config" uri="dotnet-packages-config.rnc" />
|
|
|
|
<uri pattern="*.resx" typeId="Dotnet Resx" />
|
|
<typeId id="Dotnet Resx" uri="dotnet-resx.rnc" />
|
|
|
|
<uri pattern="*.*proj" typeId="MSBuild" />
|
|
<uri pattern="Directory.Build.props" typeId="MSBuild" />
|
|
<documentElement localName="Project" typeId="MSBuild"/>
|
|
<typeId id="MSBuild" uri="msbuild.rnc" />
|
|
|
|
</locatingRules>
|