Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I know this isn't about FSUIPC, but this still seems like the best place to post it.  If not, I apologize.

It looks like MakeRunways doesn't properly escape ampersands when it loads the file name (and possibly other content) into runways.xml.   For example:

<File>ORBX\FTX_NA\FTX_NA_CRM05_SCENERY\scenery\ADE_FTX_CRM_16W_Little_Goose_Lock_&_Dam.BGL</File>

This causes an error when trying to parse this with a strict XML parser:

Message: The reference to entity "_Dam.BGL" must end with the ';' delimiter.  com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next (XMLStreamReaderImpl.java:596)

 

Would it be possible to get MakeRunways to properly escape XML characters (eg, "&amp;")?

Posted

Which verson of MakeRunways? The changelog entry for the latest version (available in the Download Links subforum here) is:

4.699 corrects Runways.XML text characters &<>"', using the correct escape notations.

Posted
6 hours ago, ThomasAH said:

Which verson of MakeRunways? The changelog entry for the latest version (available in the Download Links subforum here) is:

4.699 corrects Runways.XML text characters &<>"', using the correct escape notations.

Ah, that latest version does the trick!

I'd checked for updates on schiratti.com -- looks like even though the download was up-revved the text on the page still says 4.692.  :)

Thanks, and sorry for the trouble!

Posted
1 hour ago, kaosfere said:

I'd checked for updates on schiratti.com -- looks like even though the download was up-revved the text on the page still says 4.692.  :)

Yes. I probably forgot to ask Enrico to change that. Or maybe I did ask him and he forgot. Unfortunately I don't have access to it myself. The links on their mostly point to the files downloadable from the Download Links subforum here, which is always the best place to check.

Pete

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.