New release asset "stripped"

20 views
Skip to first unread message

Ben Bullock

unread,
Aug 7, 2024, 9:06:37 PM8/7/24
to KanjiVG
Recently a number of bug reports/issues have been coming in on github about KanjiVG's file format. Apparently some XML parsers disallow the ATTLIST and special attributes present in KanjiVG. Several of the reporters were claiming that KanjiVG's current format is somehow invalid, and suggestions were made about how to deal with the problem, including removing all of the attributes, which would obviously be unacceptable.

After some work on this problem, including being sent on a number of wild goose chases by the issue reporters, it seems that there is absolutely nothing wrong with the current KanjiVG format. It would be very easy to change to SVG 1.1 simply by altering the SVG version number in the files, but it isn't necessary in my opinion. 

However, in order that people with the restricted XML parsers can use the files more easily, I've added a new zip file kanjivg-YYYYMMDD-stripped.zip which has all of the extra KanjiVG attributes stripped out. A pre-release version of the files is here:


The code which does the removal is here:


I'd appreciate it if people who have had trouble parsing the files would try out the new release. The files untar into a directory called "stripped" rather than "kanji".

Reply all
Reply to author
Forward
0 new messages