« Return to Thread: Using an Entity causes odd error on Windows

Re: Using an Entity causes odd error on Windows

by G3YAC :: Rate this Message:

Reply to Author | View in Thread

Thanks Lennard.

I just tried that under cygwin and, after one small false start, it works fine. I needed to add the --c14n option as --noent on its own did the entity substitution OK but left their definitions in place - which the current build of mapnik can't handle.

That just saved me more time Googling for solutions that work in a Windows environment.

Regards,

           Philip

2009/6/6 Lennard <ldp@...>
Philip Howarth wrote:

> Meanwhile I'll find some way to  preprocess my entity laden mapfile.

 From the libxml2 tools:

xmllint --noent your-original.xml >no-entities.xml

Will usually do the trick.

--
Lennard
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users



--
Philip Howarth
Cambridge UK
email: Philip@...
web: www.philip.howarth.name

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

 « Return to Thread: Using an Entity causes odd error on Windows