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@...