Merge branch 'ErjanGavalji/make-xmlns-removal-backwards-compatible'

This commit is contained in:
Erjan Gavalji
2015-11-10 15:37:49 +02:00

View File

@ -176,7 +176,7 @@ function parseInternal(value: string, context: any): componentBuilder.ComponentM
}, true);
if (types.isString(value)) {
value = value.replace(/xmlns=("|')http:\/\/schemas.nativescript.org\/tns.xsd\1/, "");
value = value.replace(/xmlns=("|')http:\/\/(www)|(schemas).nativescript.org\/tns.xsd\1/, "");
xmlParser.parse(value);
}