Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flightplan <proc> can not accept simple statements #3219

Open
4 tasks
dewagter opened this issue Dec 19, 2023 · 2 comments
Open
4 tasks

flightplan <proc> can not accept simple statements #3219

dewagter opened this issue Dec 19, 2023 · 2 comments

Comments

@dewagter
Copy link
Member

dewagter commented Dec 19, 2023

  • block names can not have spaces
  • <exception cond="GetPosAlt() @GT 20.0" deroute="Standby"/> gives Lexing error in '(GetPosAlt()
  • <exception cond="agl_dist_valid @AND (agl_dist_value @LT 0.28)" deroute="flare_low"/> gives Lexing error in '(agl_dist_valid&&(agl_dist_value
  • New GCS crashes with parser error : xmlParseEntityRef: no name ="(((Or(!(InsideFlyzone(GetPosX(),GetPosY())),(GetPosAlt()>(GetAltRef()+1500)))&&!((nav_block==IndexOfBlock('RW.Wait_GPS'))))&...
@dewagter
Copy link
Member Author

Here is some code to reproduce the GCS error: #3220

@Fabien-B
Copy link
Contributor

I will work on supporting the procedure in the new GCS, but the last error you mention is because of the > and && which are invalid in an XML file.
You can replace && by @AND and > by @GT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants