开云体育

Locked Parse error on permissive SML #logixng #sml


 

Hi,
?
I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
?
Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
?
I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.?
?
Can someone help me?
?
Best Regards
?
?
颁é蝉补谤 Alcalá


 

颁é蝉补谤,

This is a bug that has been around for years but you are the first person to report it.

A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location. ?See "Help -> FileLocations" for the actual path.

Remove the "Is" from two lines.

??????????????????? <xs:enumeration value="IsPermissiveSmlDisabled"/>
??????????????????? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>

Dave Sand




----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81=yahoo.es@groups.io>
Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Saturday, November 30, 2024 4:32 PM

Hi,
?
I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
?
Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
?
I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.?
?
Can someone help me?
?
Best Regards
?
?
颁é蝉补谤 Alcalá


 

开云体育

Hi 颁é蝉补谤,

Thanks for reporting this!

The fix is included in PR #13640 and will be included in the next JMRI test release 5.9.7.


Daniel

On 2024-11-30 23:32, Cesar Alcala via groups.io wrote:

Hi,
?
I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
?
Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
?
I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.?
?
Can someone help me?
?
Best Regards
?
?
颁é蝉补谤 Alcalá


 

Another temporary work-around is to run the

jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:

颁é蝉补谤,

This is a bug that has been around for years but you are the first person to report it.

A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location. See "Help -> FileLocations" for the actual path.

Remove the "Is" from two lines.

<xs:enumeration value="IsPermissiveSmlDisabled"/>
<xs:enumeration value="IsPermissiveSmlNotDisabled"/>

Dave Sand




----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81@...>
To: jmriusers@groups.io
Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Saturday, November 30, 2024 4:32 PM

Hi,

I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:

Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.

I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.

Can someone help me?

Best Regards


Bob Jacobsen
rgj1927@...


 

Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>

> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> To: jmriusers@groups.io
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen
rgj1927@...










 

开云体育

颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:

Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>
> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> To: jmriusers@groups.io
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen
rgj1927@...










 

Hi,

This is on the JMRI 5.10 on a Windows 10 Desktop computer. Java is on version 11.0.16.1.

I copy the information that the console shows at the beginning and with the error.

09:21:12,678 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: C:\Users\Cesar\JMRI\log\session.log [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: C:\Users\Cesar\JMRI\log\messages.log [main]
09:21:12,716 apps.Apps???????????????????????????? INFO? - PanelPro version 5.10+Rca461bd266 starts under Java 11.0.16.1 on Windows 10 amd64 v10.0 at Mon Mar 03 09:21:12 CET 2025 [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\Cesar\JMRI\.permissions.xml [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
09:21:14,552 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e9c1ac6 [main]
09:21:14,668 jmri.util.node.NodeIdentity?????????? INFO? - Using 0326d4c6-d5d5-4e07-828c-41635f9af07c as the JMRI storage identity for profile id 3e9c1ac6 [AWT-EventQueue-0]
09:21:14,868 back.configurexml.ConnectionConfigXml INFO? - CAN Simulator Started [main]
09:21:14,922 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers start as: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers now: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - ProgModeSwitch is NONE [main]
09:21:14,953 mrix.can.cbus.simulator.CbusSimulator INFO? - Starting CBUS Network Simulation Tools [main]
09:21:14,968 .jmrix.can.cbus.simulator.CbusDummyCS INFO? - Simulated Command Station: Standard Command Station [main]
09:21:14,968 can.cbus.simulator.CbusEventResponder INFO? - Simulated Event Responses: Random On / Off [main]
09:21:15,253 jmri.jmrit.roster.Roster????????????? INFO? - Reading roster file with rootFromName(C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is C:\Users\Cesar\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path home: is C:\Users\Cesar\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
09:21:15,908 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
09:21:26,368 jmri.configurexml.LoadXmlConfigAction INFO? - Loading selected file: C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml [AWT-EventQueue-0]
09:21:26,854 jmri.configurexml.ErrorHandler??????? ERROR - Load Error: Parse error while parsing file /C:/Users/Cesar/JMRI/My_JMRI_Railroad.jmri/Amitlla6.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091) ~[jdom2-2.0.6.jar:2.0.6]
??? at jmri.jmrit.XmlFile.getRoot(XmlFile.java:218) ~[jmri.jar:?]
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:200) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:592) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.lambda$load$1(ConfigXmlManager.java:554) ~[jmri.jar:?]
??? at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:227) [jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:552) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:235) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:76) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:49) [jmri.jar:?]
??? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) [?:?]
??? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) [?:?]
??? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) [?:?]
??? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) [?:?]
??? at javax.swing.AbstractButton.doClick(AbstractButton.java:369) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) [?:?]
??? at java.awt.Component.processMouseEvent(Component.java:6635) [?:?]
??? at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) [?:?]
??? at java.awt.Component.processEvent(Component.java:6400) [?:?]
??? at java.awt.Container.processEvent(Container.java:2263) [?:?]
??? at java.awt.Component.dispatchEventImpl(Component.java:5011) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2321) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) [?:?]
??? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) [?:?]
??? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2307) [?:?]
??? at java.awt.Window.dispatchEventImpl(Window.java:2772) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:745) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:743) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?]
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
??? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217) ~[jdom2-2.0.6.jar:?]
??? ... 50 more

If you need more information or the console on the version 5.9.7 I can send also.

Best Regards

颁é蝉补谤


En viernes, 28 de febrero de 2025, 22:19:28 CET, danielb987 <jmri@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:
Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>

> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> To: jmriusers@groups.io
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen
rgj1927@...










 

颁é蝉补谤,

Try doing a clean JMRI install.
  1. Use the Windows control panel to remove JMRI.
  2. Manually delete the residual JMRI directory and its contents at C:\Program Files (x86).
  3. Reboot.
  4. Download and install JMRI 5.10.
The Windows installer does not always update the XML schema files.

Dave Sand



----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81=yahoo.es@groups.io>
Subject: Re: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Monday, March 03, 2025 2:25 AM


Hi,

This is on the JMRI 5.10 on a Windows 10 Desktop computer. Java is on version 11.0.16.1.

I copy the information that the console shows at the beginning and with the error.

09:21:12,678 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: C:\Users\Cesar\JMRI\log\session.log [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: C:\Users\Cesar\JMRI\log\messages.log [main]
09:21:12,716 apps.Apps???????????????????????????? INFO? - PanelPro version 5.10+Rca461bd266 starts under Java 11.0.16.1 on Windows 10 amd64 v10.0 at Mon Mar 03 09:21:12 CET 2025 [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\Cesar\JMRI\.permissions.xml [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
09:21:14,552 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e9c1ac6 [main]
09:21:14,668 jmri.util.node.NodeIdentity?????????? INFO? - Using 0326d4c6-d5d5-4e07-828c-41635f9af07c as the JMRI storage identity for profile id 3e9c1ac6 [AWT-EventQueue-0]
09:21:14,868 back.configurexml.ConnectionConfigXml INFO? - CAN Simulator Started [main]
09:21:14,922 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers start as: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers now: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - ProgModeSwitch is NONE [main]
09:21:14,953 mrix.can.cbus.simulator.CbusSimulator INFO? - Starting CBUS Network Simulation Tools [main]
09:21:14,968 .jmrix.can.cbus.simulator.CbusDummyCS INFO? - Simulated Command Station: Standard Command Station [main]
09:21:14,968 can.cbus.simulator.CbusEventResponder INFO? - Simulated Event Responses: Random On / Off [main]
09:21:15,253 jmri.jmrit.roster.Roster????????????? INFO? - Reading roster file with rootFromName(C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is C:\Users\Cesar\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path home: is C:\Users\Cesar\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
09:21:15,908 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
09:21:26,368 jmri.configurexml.LoadXmlConfigAction INFO? - Loading selected file: C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml [AWT-EventQueue-0]
09:21:26,854 jmri.configurexml.ErrorHandler??????? ERROR - Load Error: Parse error while parsing file /C:/Users/Cesar/JMRI/My_JMRI_Railroad.jmri/Amitlla6.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091) ~[jdom2-2.0.6.jar:2.0.6]
??? at jmri.jmrit.XmlFile.getRoot(XmlFile.java:218) ~[jmri.jar:?]
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:200) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:592) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.lambda$load$1(ConfigXmlManager.java:554) ~[jmri.jar:?]
??? at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:227) [jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:552) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:235) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:76) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:49) [jmri.jar:?]
??? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) [?:?]
??? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) [?:?]
??? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) [?:?]
??? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) [?:?]
??? at javax.swing.AbstractButton.doClick(AbstractButton.java:369) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) [?:?]
??? at java.awt.Component.processMouseEvent(Component.java:6635) [?:?]
??? at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) [?:?]
??? at java.awt.Component.processEvent(Component.java:6400) [?:?]
??? at java.awt.Container.processEvent(Container.java:2263) [?:?]
??? at java.awt.Component.dispatchEventImpl(Component.java:5011) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2321) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) [?:?]
??? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) [?:?]
??? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2307) [?:?]
??? at java.awt.Window.dispatchEventImpl(Window.java:2772) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:745) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:743) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?]
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
??? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217) ~[jdom2-2.0.6.jar:?]
??? ... 50 more

If you need more information or the console on the version 5.9.7 I can send also.

Best Regards

颁é蝉补谤

En viernes, 28 de febrero de 2025, 22:19:28 CET, danielb987 <jmri@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:

Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>
> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen










 

Hi,

Sorry but I can't make it works. I have still same message about the parse error. I did all you indicates on the e-mail bellow. I have even deleted users and make a clean install with all previously deleted and I still have the same message and errors. I will upload the file in case you can search which can be the problem. I have a signalling system implemented that works as the Spanish system. Don't worry about it as problem as it is normal. I have in mind to integrate it on the JMRI but I have last doubts about it ( specially if I use it on Spanish or in English)?

Best Regards

颁é蝉补谤

En lunes, 3 de marzo de 2025, 16:08:49 CET, Dave Sand <ds@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤,

Try doing a clean JMRI install.
  1. Use the Windows control panel to remove JMRI.
  2. Manually delete the residual JMRI directory and its contents at C:\Program Files (x86).
  3. Reboot.
  4. Download and install JMRI 5.10.
The Windows installer does not always update the XML schema files.

Dave Sand



----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81=yahoo.es@groups.io>
Subject: Re: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Monday, March 03, 2025 2:25 AM


Hi,

This is on the JMRI 5.10 on a Windows 10 Desktop computer. Java is on version 11.0.16.1.

I copy the information that the console shows at the beginning and with the error.

09:21:12,678 apps.util.Log4JUtil?????????????????? INFO? - * JMRI log ** [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is stored in file: C:\Users\Cesar\JMRI\log\session.log [main]
09:21:12,700 apps.util.Log4JUtil?????????????????? INFO? - This log is appended to file: C:\Users\Cesar\JMRI\log\messages.log [main]
09:21:12,716 apps.Apps???????????????????????????? INFO? - PanelPro version 5.10+Rca461bd266 starts under Java 11.0.16.1 on Windows 10 amd64 v10.0 at Mon Mar 03 09:21:12 CET 2025 [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\Cesar\JMRI\.permissions.xml [main]
09:21:12,801 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
09:21:14,552 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3e9c1ac6 [main]
09:21:14,668 jmri.util.node.NodeIdentity?????????? INFO? - Using 0326d4c6-d5d5-4e07-828c-41635f9af07c as the JMRI storage identity for profile id 3e9c1ac6 [AWT-EventQueue-0]
09:21:14,868 back.configurexml.ConnectionConfigXml INFO? - CAN Simulator Started [main]
09:21:14,922 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers start as: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - Preferences for programmers now: global true addressed true [main]
09:21:14,953 rix.can.cbus.CbusDccProgrammerManager INFO? - ProgModeSwitch is NONE [main]
09:21:14,953 mrix.can.cbus.simulator.CbusSimulator INFO? - Starting CBUS Network Simulation Tools [main]
09:21:14,968 .jmrix.can.cbus.simulator.CbusDummyCS INFO? - Simulated Command Station: Standard Command Station [main]
09:21:14,968 can.cbus.simulator.CbusEventResponder INFO? - Simulated Event Responses: Random On / Off [main]
09:21:15,253 jmri.jmrit.roster.Roster????????????? INFO? - Reading roster file with rootFromName(C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\roster.xml) [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path preference: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path profile: is C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path settings: is C:\Users\Cesar\JMRI\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path home: is C:\Users\Cesar\ [main]
09:21:15,285 jmri.util.FileUtilSupport???????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
09:21:15,908 apps.PanelPro.PanelPro??????????????? INFO? - Main initialization done [main]
09:21:26,368 jmri.configurexml.LoadXmlConfigAction INFO? - Loading selected file: C:\Users\Cesar\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml [AWT-EventQueue-0]
09:21:26,854 jmri.configurexml.ErrorHandler??????? ERROR - Load Error: Parse error while parsing file /C:/Users/Cesar/JMRI/My_JMRI_Railroad.jmri/Amitlla6.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
org.jdom2.input.JDOMParseException: Error on line 5562: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:232) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253) ~[jdom2-2.0.6.jar:?]
??? at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091) ~[jdom2-2.0.6.jar:2.0.6]
??? at jmri.jmrit.XmlFile.getRoot(XmlFile.java:218) ~[jmri.jar:?]
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:200) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:592) ~[jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.lambda$load$1(ConfigXmlManager.java:554) ~[jmri.jar:?]
??? at jmri.util.ThreadingUtil.runOnGUIwithReturn(ThreadingUtil.java:227) [jmri.jar:?]
??? at jmri.configurexml.ConfigXmlManager.load(ConfigXmlManager.java:552) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:235) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) [jmri.jar:?]
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlConfigAction.loadFile(LoadXmlConfigAction.java:76) [jmri.jar:?]
??? at jmri.configurexml.LoadXmlUserAction.actionPerformed(LoadXmlUserAction.java:49) [jmri.jar:?]
??? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) [?:?]
??? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) [?:?]
??? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) [?:?]
??? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) [?:?]
??? at javax.swing.AbstractButton.doClick(AbstractButton.java:369) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) [?:?]
??? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) [?:?]
??? at java.awt.Component.processMouseEvent(Component.java:6635) [?:?]
??? at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) [?:?]
??? at java.awt.Component.processEvent(Component.java:6400) [?:?]
??? at java.awt.Container.processEvent(Container.java:2263) [?:?]
??? at java.awt.Component.dispatchEventImpl(Component.java:5011) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2321) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) [?:?]
??? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) [?:?]
??? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) [?:?]
??? at java.awt.Container.dispatchEventImpl(Container.java:2307) [?:?]
??? at java.awt.Window.dispatchEventImpl(Window.java:2772) [?:?]
??? at java.awt.Component.dispatchEvent(Component.java:4843) [?:?]
??? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
??? at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:745) [?:?]
??? at java.awt.EventQueue$5.run(EventQueue.java:743) [?:?]
??? at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
??? at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?]
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
??? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
??? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value 'IsPermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, PermissiveSmlDisabled, PermissiveSmlNotDisabled]'. It must be a value from the enumeration.
??? at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.12.2.jar:2.12.2]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.12.2.jar:?]
??? at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217) ~[jdom2-2.0.6.jar:?]
??? ... 50 more

If you need more information or the console on the version 5.9.7 I can send also.

Best Regards

颁é蝉补谤

En viernes, 28 de febrero de 2025, 22:19:28 CET, danielb987 <jmri@...> 别蝉肠谤颈产颈ó:


颁é蝉补谤

The bug fix is included in version 5.9.7 and version 5.10.

If it doesn't work for you, please copy the entire system console and paste it in a reply.

Daniel


On 2025-02-27 19:01, Cesar Alcala via groups.io wrote:

Hi,

In the past I remember to test it on test version 5.9.7 and to work correctly but today it doesn't work anymore. I tested on my 5.10 and on the 5.9.7 versions that I have installed. Is it merged and solved the issue?

Best Regards

颁é蝉补谤 Alcalá

En domingo, 1 de diciembre de 2024, 14:26:11 CET, Bob Jacobsen via groups.io <rgj1927@...> 别蝉肠谤颈产颈ó:


Another temporary work-around is to run the

??? jython/TurnOffXmlValidation.py

script at startup, before you load any other files.

Bob

> On Nov 30, 2024, at 7:43?PM, Dave Sand via groups.io <ds@...> wrote:
>
> 颁é蝉补谤,
>
> This is a bug that has been around for years but you are the first person to report it.
>
> A temporary fix is to edit the "xml/schema/logixng/digital-actions/action-signalmast-4.23.1.xsd" file in your JMRI install location.? See "Help -> FileLocations" for the actual path.
>
> Remove the "Is" from two lines.
>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlDisabled"/>
>? ? ? ? ? ? ? ? ? ? <xs:enumeration value="IsPermissiveSmlNotDisabled"/>
>
> Dave Sand
>
>
>
>
> ----- Original message -----
> From: "Cesar Alcala via groups.io" <shegar81@...>
> Subject: [jmriusers] Parse error on permissive SML #logixng #signalmasts
> Date: Saturday, November 30, 2024 4:32 PM
>
> Hi,
>?
> I don't understand where can it be the problem. I want to implement a call of on the home signals of an station. I set the permissive on the block and all works correctly. I used the logixng to program the option. I can save correctly but the problem comes at the loading of the panel on a next session. When I load the panel I have a Parse error that says that:
>?
> Error on line 5256: cvc-enumeration-valid: Value 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
>?
> I open the xml file and I modify the line indicated and write IsPermissiveSmlDisabled where it says PermissiveSmlDisabled and I save the file. I open the file on panel pro and it works but all related to the Permissive SML on the signal is blank and obviously it doesn't work. Why if the error indicates that it must be on a kind of value if you use it it doesn't work? The panel on origin was created on JMRI 5.3 but all the logixng conditions have been created on 5.8.
>?
> Can someone help me?
>?
> Best Regards
>



Bob Jacobsen










 

On 3/5/2025 5:00 AM, Cesar Alcala via groups.io wrote:
Hi,
Sorry but I can't make it works. I have still same message about the parse error. I did all you indicates on the e-mail bellow. I have even deleted users and make a clean install with all previously deleted and I still have the same message and errors. I will upload the file in case you can search which can be the problem. I have a signalling system implemented that works as the Spanish system. Don't worry about it as problem as it is normal. I have in mind to integrate it on the JMRI but I have last doubts about it ( specially if I use it on Spanish or in English)
Best Regards
颁é蝉补谤
...

> Error on line 5256: cvc-enumeration-valid: Value
'PermissiveSmlDisabled' is not facet-valid with respect to enumeration '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled, IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.
颁é蝉补谤,

I am not someone who knows about "everything" in JMRI, but I do know "some things". I interpret that message you are getting as being one where you are loading the railroad's ".XML" file, but JMRI sees an error.

Unfortunately, JMRI's error message does not give enough detail to figure out what is wrong! JMRI tells us that something on line 5256 is wronfg. And it tells us that the line in the layout's XML is using the term "PermissiveSmlDisabled". And it tells us that JMRI thinks that it _should_ be using one of these terms instead:

- "Aspect"
- "Lit"
- "NotLit"
- "Held"
- "NotHeld"
- "IsPermissiveSmlDisabled"
- "IsPermissiveSmlNotDisable"

I cannot guess any more about your problem.

You will have to upload your files to someone who can "Figure this out". I would suggest that you upload the "...\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml" file, and the "signaling system" files (probably in "...\JMRI\My_JMRI_Railroad.jmri\resources\signals\(your signal system name)\*"). and the appropriate icons (probably in "...\JMRI\My_JMRI_Railroad.jmri\resources\icons\(whereever you put the icons)\*.gif").

With that information, someone should be able to figure out what is wrong with your files.


 

Hi,

The meaning of the error is what you are saying but there are more things begin. I will explain how I get this error.

As you said I create a layout and I create some rules with LogixNG. All works correctly and after all the checks I save all. I close JMRI by quit button and next day I open JMRI. When I open the file I have this error. As you say I modify the xml file with the indications on the error and then the file can be opened but the rules on LogixNG don't work. The part related to permissive SML are missing. I modify another time the rules to include all the requisite another time and all works as at the previous day. I save another time the file and when I open it I have now the same error.

Best Regards

颁é蝉补谤

En miércoles, 5 de marzo de 2025, 12:55:33 CET, billybob experimenter via groups.io <jawhugrps@...> 别蝉肠谤颈产颈ó:


On 3/5/2025 5:00 AM, Cesar Alcala via groups.io wrote:
> Hi,
>
> Sorry but I can't make it works. I have still same message about the
> parse error. I did all you indicates on the e-mail bellow. I have even
> deleted users and make a clean install with all previously deleted and I
> still have the same message and errors. I will upload the file in case
> you can search which can be the problem. I have a signalling system
> implemented that works as the Spanish system. Don't worry about it as
> problem as it is normal. I have in mind to integrate it on the JMRI but
> I have last doubts about it ( specially if I use it on Spanish or in
> English)
>
> Best Regards
>
> 颁é蝉补谤

...

>? > Error on line 5256: cvc-enumeration-valid: Value
> 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration
> '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled,
> IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.

颁é蝉补谤,

I am not someone who knows about "everything" in JMRI, but I do know
"some things".? I interpret that message you are getting as being one
where you are loading the railroad's ".XML" file, but JMRI sees an error.

Unfortunately, JMRI's error message does not give enough detail to
figure out what is wrong!? JMRI tells us that something on line 5256 is
wronfg.? And it tells us that the line in the layout's XML is using the
term "PermissiveSmlDisabled".? And it tells us that JMRI thinks that it
_should_ be using one of these terms instead:

- "Aspect"
- "Lit"
- "NotLit"
- "Held"
- "NotHeld"
- "IsPermissiveSmlDisabled"
- "IsPermissiveSmlNotDisable"

I cannot guess any more about your problem.

You will have to upload your files to someone who can "Figure this out".
? I would suggest that you upload the
"...\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml" file, and the "signaling
system" files (probably in
"...\JMRI\My_JMRI_Railroad.jmri\resources\signals\(your signal system
name)\*"). and the appropriate icons (probably in
"...\JMRI\My_JMRI_Railroad.jmri\resources\icons\(whereever you put the
icons)\*.gif").

With that information, someone should be able to figure out what is
wrong with your files.









 

On 3/5/2025 9:41 AM, Cesar Alcala via groups.io wrote:
Hi,
The meaning of the error is what you are saying but there are more things begin. I will explain how I get this error.
As you said I create a layout and I create some rules with LogixNG. All works correctly and after all the checks I save all. I close JMRI by quit button and next day I open JMRI. When I open the file I have this error. As you say I modify the xml file with the indications on the error and then the file can be opened but the rules on LogixNG don't work. The part related to permissive SML are missing. I modify another time the rules to include all the requisite another time and all works as at the previous day. I save another time the file and when I open it I have now the same error.

You now say that your problem has something to do with LogixNG. I have no knowlegre of LogixNG, so I cannot offer any further help.

Hopefully, one of the JMRI developers who understand LogixNG will respond! And will be able to figure out how to emit an LogixNG ".XML" file which is able to be read properly by JMRI.


 

颁é蝉补谤,

The LogixNG operation type name "isPermissiveSmlDisabled" was changed to "PermissiveSmlDisabled" in JMRI 5.10. ?You will need to edit the xml file and remove "is" from the two occurrences before loading the file using JMRI 5.10 or later.

An alternate approach is to run the "TurnOffXmlValidation.py" script before loading the layout data xml file using JMRI 5.10. ?Note: ?I cannot test this since you have a custom signal system. ?This creates a lot of unrelated errors.


Dave Sand


----- Original message -----
From: "Cesar Alcala via groups.io" <shegar81=yahoo.es@groups.io>
Subject: Re: [jmriusers] Parse error on permissive SML #logixng #signalmasts
Date: Wednesday, March 05, 2025 8:41 AM


Hi,

The meaning of the error is what you are saying but there are more things begin. I will explain how I get this error.

As you said I create a layout and I create some rules with LogixNG. All works correctly and after all the checks I save all. I close JMRI by quit button and next day I open JMRI. When I open the file I have this error. As you say I modify the xml file with the indications on the error and then the file can be opened but the rules on LogixNG don't work. The part related to permissive SML are missing. I modify another time the rules to include all the requisite another time and all works as at the previous day. I save another time the file and when I open it I have now the same error.

Best Regards

颁é蝉补谤

En miércoles, 5 de marzo de 2025, 12:55:33 CET, billybob experimenter via groups.io <jawhugrps@...> 别蝉肠谤颈产颈ó:


On 3/5/2025 5:00 AM, Cesar Alcala via groups.io wrote:
> Hi,
>
> Sorry but I can't make it works. I have still same message about the
> parse error. I did all you indicates on the e-mail bellow. I have even
> deleted users and make a clean install with all previously deleted and I
> still have the same message and errors. I will upload the file in case
> you can search which can be the problem. I have a signalling system
> implemented that works as the Spanish system. Don't worry about it as
> problem as it is normal. I have in mind to integrate it on the JMRI but
> I have last doubts about it ( specially if I use it on Spanish or in
> English)
>
> Best Regards
>
> 颁é蝉补谤

...

>? > Error on line 5256: cvc-enumeration-valid: Value
> 'PermissiveSmlDisabled' is not facet-valid with respect to enumeration
> '[Aspect, Lit, NotLit, Held, NotHeld, IsPermissiveSmlDisabled,
> IsPermissiveSmlNotDisabled]'. It must be a value from the enumeration.

颁é蝉补谤,

I am not someone who knows about "everything" in JMRI, but I do know
"some things".? I interpret that message you are getting as being one
where you are loading the railroad's ".XML" file, but JMRI sees an error.

Unfortunately, JMRI's error message does not give enough detail to
figure out what is wrong!? JMRI tells us that something on line 5256 is
wronfg.? And it tells us that the line in the layout's XML is using the
term "PermissiveSmlDisabled".? And it tells us that JMRI thinks that it
_should_ be using one of these terms instead:

- "Aspect"
- "Lit"
- "NotLit"
- "Held"
- "NotHeld"
- "IsPermissiveSmlDisabled"
- "IsPermissiveSmlNotDisable"

I cannot guess any more about your problem.

You will have to upload your files to someone who can "Figure this out".
? I would suggest that you upload the
"...\JMRI\My_JMRI_Railroad.jmri\Amitlla6.xml" file, and the "signaling
system" files (probably in
"...\JMRI\My_JMRI_Railroad.jmri\resources\signals\(your signal system
name)\*"). and the appropriate icons (probably in
"...\JMRI\My_JMRI_Railroad.jmri\resources\icons\(whereever you put the
icons)\*.gif").

With that information, someone should be able to figure out what is
wrong with your files.