AnyRail Model Railroad Forum

General Category => Problems => Topic started by: Bobn on October 19, 2022, 05:44:58 PM

Title: Error Exporting xml file to JMRI
Post by: Bobn on October 19, 2022, 05:44:58 PM
Errors when trying to load file exported from Anyrail (version 6.49.0 (Oct 14, 2022)
into JMRI Panel Pro (version 4.18+R37ad3d0,  java version 1.8.0-231 (en)).
I know that JMRI and java are not the latest versions, but as everything else works fine
I am reluctant to upgrade.

Last time I exported from Anyrail (May 2022) it worked fine ( as with all earlier exports)
The only change has been selecting the upgrades to Anyrail when prompted.

Even the most simple anyrail file (a one yard straight) gives the error.

Attached is the xml file created by Anyrail (test1.txt)
and the JMRI error file (message log.txt).

Please help as using the Panel Pro editor to create a layout is slow and painful !!
Title: Re: Error Exporting xml file to JMRI
Post by: David on October 20, 2022, 11:14:19 AM
The error message says there's an error in the XML schema. This is a file on the JMRI side.

It also says that's there's an error in line 1. If I check my installed version of the layout-4-19-2.xsd file (in C:\Program Files (x86)/JMRI/xmls/schema), line 1 only contains the xml opening tag.

I know hardly anything about JMRI, but perhaps you can check this file on your system?