开云体育

Locked Re: Parse error on permissive SML #logixng #sml


 

开云体育

颁é蝉补谤

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: [email protected]
> 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@...









Join [email protected] to automatically receive all group messages.