[ALOY-1646] Allow platform xml namespaces to be used with xml attributes in Alloy
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-06-19T22:58:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.1.0, Alloy 1.14.0 |
Components | n/a |
Labels | alloy, attribute, namespace, titanium, xml |
Reporter | Brenton House |
Assignee | Brenton House |
Created | 2019-03-06T23:34:41.000+0000 |
Updated | 2019-06-19T22:58:20.000+0000 |
Description
Would be great to allow using xml namespaces to filter attributes based on platform.
For example:
{noformat}
{noformat}
This is a probably over-simplistic example but the only way to do this right now is to have two separate elements:
{noformat}
{noformat}
and
{noformat}
{noformat}
This can cause problems with some tags/elements where it thinks you have duplicate tags and throws a compile time error.
Created PR: https://github.com/appcelerator/alloy/pull/922
Tested and verified the changes on CLI 7.1.0-master.22.able to include Platform xml namespaces.Works as expected.closing.