Oh… I’ve just exported the JavaParser, and I have faced similar problem. Here is how I
solve it, it is a bit hacky, but it seems to works.
1 - export the PetitDelphi grammar info an svg file, let’s call it delphi.svg
2 - open emacs on it within a terminal: emacs delphi.svg
3 - convert the mac file into the unix format: C-x RET f undecided-unix
4 - Save it: C-c C-X
5 - Open the file with your web browser, it will now indicate you the culprit line
6 - Fix the SVG by removing “<“ and “&” characters
Does this makes sense? The proper solution is to use escape character in the SVG.
Something we should do…
https://dl.dropboxusercontent.com/u/31543901/TMP/Java.svg
Alexandre
On Dec 19, 2013, at 11:19 AM, Stephan Eggermont <stephan(a)stack.nl> wrote:
Cool. For a way too complex picture, I tried the
PetitDelphi grammar. That gets so large that exporting to png hangs the image... And
firefox and chrome refuse to open the svg. Chrome complains about an error somewhere
around character 601000 of line 1 :)
Stephan
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.