From 4c7b9d59ba10f88ec5b2dec1d544d250171015b5 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Tue, 10 Nov 2015 15:06:10 +0200 Subject: [PATCH] Update the regex to search for www OR schemas for the xmlns removal --- ui/builder/builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/builder/builder.ts b/ui/builder/builder.ts index f14b8a408..92bc99373 100644 --- a/ui/builder/builder.ts +++ b/ui/builder/builder.ts @@ -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); }