From: SourceForge.net <no...@so...> - 2009-10-30 06:05:02
|
Bugs item #2875372, was opened at 2009-10-09 13:58 Message generated for change (Settings changed) made by acunliffe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=577089&aid=2875372&group_id=85722 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Allan Cunliffe (acunliffe) >Assigned to: Matthew Oliver (matthewoliver) Summary: Error normalising svg file Initial Comment: Xena Testing Branch - build 4.3.7 - 3 / 20091008 Attempted to normalise svg file (attached). Normalisation failed and the following error was displayed: null Trace: java.util.Properties$LineReader.readLine(Properties.java:418) java.util.Properties.load0(Properties.java:337) java.util.Properties.load(Properties.java:325) org.apache.batik.util.XMLResourceDescriptor.getParserProps(Unknown Source) org.apache.batik.util.XMLResourceDescriptor.getXMLParserClassName(Unknown Source) au.gov.naa.digipres.xena.plugin.image.SvgNormaliser.parse(SvgNormaliser.java:55) au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.parse(NormaliserManager.java:817) au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.normalise(NormaliserManager.java:1005) au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:595) au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:539) au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseFile(NormalisationThread.java:324) au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseStandard(NormalisationThread.java:246) au.gov.naa.digipres.xena.litegui.NormalisationThread.run(NormalisationThread.java:187) I got mixed results with other svg files. Some normalised and others failed. The following was displayed for svg files I created in Inkscape. I created the image using svg and non-svg icons and saved the file as an svg: invalid.element Trace: org.apache.batik.dom.AbstractNode.createDOMException(Unknown Source) org.apache.batik.dom.svg.SVGDOMImplementation.createElementNS(Unknown Source) org.apache.batik.dom.svg.SVGOMDocument.createElementNS(Unknown Source) org.apache.batik.dom.util.SAXDocumentFactory.startElement(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) au.gov.naa.digipres.xena.plugin.image.SvgNormaliser.parse(SvgNormaliser.java:57) au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.parse(NormaliserManager.java:817) au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.normalise(NormaliserManager.java:1005) au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:595) au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:539) au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseFile(NormalisationThread.java:324) au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseStandard(NormalisationThread.java:246) au.gov.naa.digipres.xena.litegui.NormalisationThread.run(NormalisationThread.java:187) ---------------------------------------------------------------------- >Comment By: Allan Cunliffe (acunliffe) Date: 2009-10-30 17:04 Message: Tested in Xena Testing Branch 4.3.12. Some svg files normalising but still a problem with the svg files I created in Inkscape. ---------------------------------------------------------------------- Comment By: Matthew Oliver (matthewoliver) Date: 2009-10-21 13:57 Message: Issue fixed in version 4.5.4 of the Image Plugin: Testing. Caused by some missing preference files distributed with the source, but placed in a different location from the source in the distributed source code. Build script updated to move them where required. ---------------------------------------------------------------------- Comment By: Matthew Oliver (matthewoliver) Date: 2009-10-12 12:22 Message: Problems caused by batik SVG library upgrade. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=577089&aid=2875372&group_id=85722 |