remove all XML DTD traces since it was removed - see https://github.com/mapnik/mapnik/issues/1715

Dane Springmeyer 2013-02-07 17:50:35 -08:00
parent af9ced6f31
commit 2d38464bd7
4 changed files with 1 additions and 35 deletions

@ -6,7 +6,7 @@
* `MarkersSymbolizer` * `MarkersSymbolizer`
* `marker-type` is removed, built in ellipse and arrow types now can be referenced like `file="shape://ellipse"` and `file="shape://arrow"` - although this interface is unstable and may continue to change. * `marker-type` is removed, built in ellipse and arrow types now can be referenced like `file="shape://ellipse"` and `file="shape://arrow"` - although this interface is unstable and may continue to change.
* `ShieldSymbolizer` attribute `no_text` - Simply leave the text empty if you don't want any text to be rendered. * `ShieldSymbolizer` attribute `no_text` - Simply leave the text empty if you don't want any text to be rendered.
* `XML DTD` in `utils/xml` since it was unmaintained: https://github.com/mapnik/mapnik/issues/1402 * Removed `XML DTD` in `utils/xml` since it was unmaintained: https://github.com/mapnik/mapnik/issues/1402
* `RasterSymbolizer` `mode` `divide` (see below) * `RasterSymbolizer` `mode` `divide` (see below)
## Changed ## Changed

@ -162,7 +162,6 @@ To get syntax color, see "Syntax highlighting" from http://github.github.com/git
|[Build notes specific to older versions of Ubuntu](http://github.com/mapnik/mapnik/wiki/UbuntuInstallationOld)|yes||| |[Build notes specific to older versions of Ubuntu](http://github.com/mapnik/mapnik/wiki/UbuntuInstallationOld)|yes|||
|[Using Custom Fonts with Mapnik](http://github.com/mapnik/mapnik/wiki/UsingCustomFonts)|yes||| |[Using Custom Fonts with Mapnik](http://github.com/mapnik/mapnik/wiki/UsingCustomFonts)|yes|||
|[Using SCons with Mapnik](http://github.com/mapnik/mapnik/wiki/UsingScons)|yes||| |[Using SCons with Mapnik](http://github.com/mapnik/mapnik/wiki/UsingScons)|yes|||
|[Validating Xml](http://github.com/mapnik/mapnik/wiki/ValidatingXml)|yes|||
|[Installing Mapnik in Windows](http://github.com/mapnik/mapnik/wiki/WindowsInstallation)|yes||| |[Installing Mapnik in Windows](http://github.com/mapnik/mapnik/wiki/WindowsInstallation)|yes|||
|[XMLConfigReference](http://github.com/mapnik/mapnik/wiki/XMLConfigReference)|yes (some anchors remaining to fix)||| |[XMLConfigReference](http://github.com/mapnik/mapnik/wiki/XMLConfigReference)|yes (some anchors remaining to fix)|||
|[XmlFormatDiscussion](http://github.com/mapnik/mapnik/wiki/XmlFormatDiscussion)|yes||| |[XmlFormatDiscussion](http://github.com/mapnik/mapnik/wiki/XmlFormatDiscussion)|yes|||

@ -1,31 +0,0 @@
<!-- Name: ValidatingXml -->
<!-- Version: 3 -->
<!-- Last-Modified: 2011/01/06 08:35:39 -->
<!-- Author: phispi -->
# Validating Xml
To validate the Map xml file, reference mapnik's mapfile DTD as in:
```
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map SYSTEM "mapnik2.dtd">
<Map>
...
</Map>
```
The DTD file can be found here: https://github.com/mapnik/mapnik/blob/master/utils/xml/mapnik.dtd
## Validating in editors
* *Eclipse*
* One time validation: right click on the xml file -> validate
* Automatic validation: right click on project -> properties -> Validation -> Add Validation Builder to project -> OK
## Validating from the command line
```sh
xmllint --valid --noout path/to/file.xml
```

@ -5,8 +5,6 @@
See also [a reference PDF](http://old.nabble.com/attachment/27685172/0/MapnikXMLDescription.pdf) created by David Eastcott (written for 0.7) See also [a reference PDF](http://old.nabble.com/attachment/27685172/0/MapnikXMLDescription.pdf) created by David Eastcott (written for 0.7)
To validate the XML see [[ValidatingXml]]
## General ## General
Comments can be placed in the configuration file using the default xml <!-- --> syntax Comments can be placed in the configuration file using the default xml <!-- --> syntax