 {
 	public class Namespace
 	{
+		COMPILE::JS
+		{
+			import org.apache.flex.utils.Language;
+		}
 		COMPILE::JS
     	public function Namespace(prefixOrUri:Object=null,uriValue:Object=null)
 		{

			else if(uriValue)
			{
				// something is specified as the URI otherwise fall through and leave both the prefix and uri blank
				if(uriValue is QName)
				{
					if((uriValue as QName).uri)
						_uri = (uriValue as QName).uri;
				}
				else {
					_uri = uriValue.toString();

					_prefix = prefixOrUri.toString();

			}
		}

		// Using this instead of simply using "is QName" because "is QName" causes a circular dependency.
		private function isQName(val:Object):Boolean
		{
			if(val==null)
				return false;
			if(val.hasOwnProperty("uri") && val.hasOwnProperty("localName") && val.hasOwnProperty("prefix"))
				return true;
			return false;
		}

		private var _uri:String = "";
