¿ªÔÆÌåÓý

Locked Re: Parse error with a very old file


 

I just answered my question. The newer JMRI version requires a username. I had forgotten that this changes was placed in JMRI.

I placed a username and the parse error went to the next oblock. I also found out that is userName="" is removed, that also fixes the parse error.

Now I am getting a different error

Thx
Leo P

On Mon, Nov 25, 2019 at 10:20 AM leo pesce via Groups.Io <lpescester=[email protected]> wrote:
Hello all,

I am trying to help a friend that has been running with a very old version of JMRI (I do not know which, but it predates the JAVA change to a new format that did not allow backwards compatibility.

The error we get is a cvc-minLength-valid error. I took a picture of this.?

The code is for OBLOCKS and here is an example:

<oblock systemName="OB121" userName="" length="1" curve="0">
? ? ? <sensor systemName="CS121" />
? ? ? <path pathName="Path144-122" blockName="OB121" fromPortal="Port144-121" toPortal="Port121-122" fromDirection="0" toDirection="0" />
? ? ? <portal portalName="Port144-121">
? ? ? ? <fromBlock blockName="OB144">
? ? ? ? ? <path pathName="Path143-121" blockName="OB144" />
? ? ? ? </fromBlock>
? ? ? ? <toBlock blockName="OB121">
? ? ? ? ? <path pathName="Path144-122" blockName="OB121" />
? ? ? ? </toBlock>
? ? ? </portal>
? ? ? <portal portalName="Port121-122">
? ? ? ? <fromBlock blockName="OB121">
? ? ? ? ? <path pathName="Path144-122" blockName="OB121" />
? ? ? ? </fromBlock>
? ? ? ? <toBlock blockName="OB122">
? ? ? ? ? <path pathName="Path121-123" blockName="OB122" />
? ? ? ? ? <path pathName="Path121-136" blockName="OB122" />
? ? ? ? ? <path pathName="Path121-Saw" blockName="OB122" />
? ? ? ? </toBlock>
? ? ? </portal>
? ? </oblock>

Is it because the userName is ""?

Please let us know.

Thank you
Leo P

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