Osmarender 6.0 Alpha 6
файл osmarender.xsl размером 201604 байта
java -cp xalan.jar;serializer.jar org.apache.xalan.xslt.Process -in osm-map-features-z10.xml -out map.svg выдаёт:
file:///D:/Maps/osmarender/stylesheets/osmarender.xsl; Номер строки 3133; Номер столбца 18; org.apache.xpath.objects.XString cannot be cast to org.apache.xpath.objects.XNodeSet
file:///D:/Maps/osmarender/stylesheets/osmarender.xsl; Номер строки 3133; Номер столбца 18; java.lang.NullPointerException
java -jar saxon9he.jar -t -xsl:osmarender.xsl -s:osm-map-features-z10.xml -o:map.svg пишет:
Error on line 339 of osmarender.xsl:
Cannot find a matching 1-argument function named {http://exslt.org/common}node-set()
in variable symbols (file:/D:/Maps/osmarender/stylesheets/osmarender.xsl#299)
in built-in template rule
Transformation failed: Run-time errors were reported
xml.exe tr osmarender.xsl osm-map-features-z10.xml > map.svg пишет:
I/O error : Attempt to load network entity http://xobjex.com/service/date.xsl
warning: failed to load external entity “http://xobjex.com/service/date.xsl”
perl orp.pl -r osm-map-features-z10.xml data.osm требует Set::Object, который я не знаю как устанавливать на ActivePerl (там требуется компиляция Object.xs).
msxsl osm-map-features-z10.xml -pi -o map.svg тоже ругается:
Error occurred while executing stylesheet ‘file://D:\Maps\osmarender\stylesheets\osmarender.xsl’.
Code: 0x80004005
Reference to variable or parameter ‘elements’ must evaluate to a node list.
Что делать?