You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When validating the build.xml file with the relaxng schema it insists that "selector" is missing in the <project> root tag and all <target> tags.
Steps To Reproduce
Add the rng file as a schema definition to the top of the file.
Expected behavior
Smooth error correction and autocomplete bliss.
Screenshots / terminal output
"selector" element demands: element "target" incomplete; missing required element "selector"
Additionally complains about passthrough attribute. Surely this should be a boolean OR a string, yes? value of attribute "passthru" is invalid; must be a boolean
Additional context
I think this is caused by these lines in the phing-grammar.rng file.
Hi @feamsr00. You could be very right. IntelliJ's RNG support is not great, so it's very possible things are less than optimal. What editor are you using?
passthru is supposed to be a boolean, looks like your editor is tripping over the variable expansion (${build.isVerbose}).
Heh. I will grant that property file variable expansion might be a lot to ask from xml editing. Moreover, asking every attribute to allow a string type as well might also be a bridge too far, yes?
Describe the bug
When validating the build.xml file with the relaxng schema it insists that "selector" is missing in the
<project>
root tag and all<target>
tags.Steps To Reproduce
Add the rng file as a schema definition to the top of the file.
Expected behavior
Smooth error correction and autocomplete bliss.
Screenshots / terminal output
"selector" element demands:
element "target" incomplete; missing required element "selector"
Additionally complains about
passthrough
attribute. Surely this should be a boolean OR a string, yes?value of attribute "passthru" is invalid; must be a boolean
Additional context
I think this is caused by these lines in the phing-grammar.rng file.
Maybe those selectors are supposed to be wrapped in the
optional
tags?The text was updated successfully, but these errors were encountered: