Harbs
Harbs
Do you have a small test case which shows the issue?
The instructions are not very clear on how to build. I think the easiest path for the tutorial is using `asconfig.json` to configure the project. @cottage14 thoughts?
No worries. So sorry to hear! 😢
We have the routing page here: https://apache.github.io/royale-docs/features/routing Not sure where the best place for this info is. @cottage14 what do you think?
My question was because you created a stub above under "application tutorial". Both places make sense, but currently the one under application tutorial is just a stub. Should we delete...
@greg-dove It looks like you added the trim on creation of the XML about a year ago. Do you remember why?
There's two places it's used during parsing. One on line 571: `var xmlStr:String = ignoreWhitespace ? trimXMLWhitespace("" + xml) : "" + xml;` and a second time on line 637:...
FYI, here's the discussion which triggered the change: https://lists.apache.org/[email protected]:2019-6:Implicit%20casts%20and%20skipAsCercions Unfortunately the paste is no longer valid.
IIRC, the reason we're trimming is to prevent empty text nodes. It's clearly doing the wrong thing in this case, so we need to figure out the correct way to...
@greg-dove It looks like we're dropping empty nodes (and trimming) here: https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/XML/src/main/royale/XML.as#L407 Perhaps we can really remove both cases of `trimXMLWhitespace` during parsing. Do you agree?