Project

General

Profile

Actions

Action #7119

open

pb avec import de fichier filtre en imaging

Added by Christian Surace over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Start date:
2022-03-11
Due date:
% Done:

0%

Estimated time:

Description

le prg plante


Files

SDSSi.dat (4.9 KB) SDSSi.dat Christian Surace, 2022-03-11 17:10
IRIS-inst-filter-i_SDSS.xml (13.1 KB) IRIS-inst-filter-i_SDSS.xml Jean-charles Meunier, 2023-02-28 11:40
Filter.xsd (571 Bytes) Filter.xsd Jean-charles Meunier, 2023-02-28 11:40
Actions #1

Updated by Christian Surace over 2 years ago

l'import plante dans intrument-imaging-filter -> + -> SDSSI.dat

org.apache.xmlbeans.XmlException: /Users/surace/WORK/PROJETS/ETC/data/dataset/Filters/SDSSi.dat:1:1: error: Unexpected element: CDATA
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1276)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:252)
at org.cnrs.lam.dis.etc.dataimportexport.xml.InstrumentDocument$Factory.parse(Unknown Source)
at org.cnrs.lam.dis.etc.dataimportexport.DataImporterImpl.importInstrumentFromDataFile(DataImporterImpl.java:261)
at org.cnrs.lam.dis.etc.dataimportexport.DataImporterImpl.getDatasetFromInstrument(DataImporterImpl.java:103)
at org.cnrs.lam.dis.etc.dataimportexport.DataImporterImpl.importDatasetFromComponentFile(DataImporterImpl.java:79)
at org.cnrs.lam.dis.etc.controller.DatasetListenerImpl.importDatasetInstanceFromFile(DatasetListenerImpl.java:282)
at org.cnrs.lam.dis.etc.controller.DatasetListenerImpl.importFromFile(DatasetListenerImpl.java:193)
at org.cnrs.lam.dis.etc.ui.swing.instrument.ImagingPanel.importDataset(ImagingPanel.java:214)
at org.cnrs.lam.dis.etc.ui.swing.instrument.ImagingPanel.addFilterTransmissionButtonActionPerformed(ImagingPanel.java:156)
at org.cnrs.lam.dis.etc.ui.swing.instrument.ImagingPanel.access$200(ImagingPanel.java:55)
at org.cnrs.lam.dis.etc.ui.swing.instrument.ImagingPanel$3.actionPerformed(ImagingPanel.java:117)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6636)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6401)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4919)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4548)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4489)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 1; columnNumber: 1; Unexpected element: CDATA
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454)

Updated by Jean-charles Meunier over 1 year ago

ça fonctionne avec un XML formaté ainsi cf. fichiers

Actions

Also available in: Atom PDF