From a5c41308134f6e473d8930a6111149d861854e15 Mon Sep 17 00:00:00 2001 From: Samir Romdhani Date: Sat, 3 Sep 2022 23:43:26 +0200 Subject: [PATCH] Fixes highsource/jsonix#238 Signed-off-by: Samir Romdhani --- nodejs/scripts/jsonix.js | 204 +++++++++++++++++++-------------------- 1 file changed, 102 insertions(+), 102 deletions(-) diff --git a/nodejs/scripts/jsonix.js b/nodejs/scripts/jsonix.js index 3e64d0aa..73eb51d2 100644 --- a/nodejs/scripts/jsonix.js +++ b/nodejs/scripts/jsonix.js @@ -1,9 +1,9 @@ var _jsonix_factory = function(_jsonix_xmldom, _jsonix_xmlhttprequest, _jsonix_fs) { - // Complete Jsonix script is included below + // Complete Jsonix script is included below var Jsonix = { singleFile : true -}; +}; Jsonix.Util = {}; Jsonix.Util.extend = function(destination, source) { @@ -31,14 +31,14 @@ Jsonix.Util.extend = function(destination, source) { // REWORK // Node.js - sourceIsEvt = typeof window !== 'undefined' && window !== null && typeof window.Event === "function" && source instanceof window.Event; + var sourceIsEvt = typeof window !== 'undefined' && window !== null && typeof window.Event === "function" && source instanceof window.Event; if (!sourceIsEvt && source.hasOwnProperty && source.hasOwnProperty('toString')) { destination.toString = source.toString; } } return destination; -}; +}; Jsonix.Class = function() { var Class = function() { this.initialize.apply(this, arguments); @@ -77,13 +77,13 @@ Jsonix.Class = function() { Class.prototype = extended; return Class; }; - + Jsonix.XML = { XMLNS_NS : 'http://www.w3.org/2000/xmlns/', XMLNS_P : 'xmlns' }; - + Jsonix.DOM = { isDomImplementationAvailable : function () { if (typeof _jsonix_xmldom !== 'undefined') @@ -193,7 +193,7 @@ Jsonix.DOM = { } return Jsonix.DOM.xlinkFixRequired; } -}; +}; Jsonix.Request = Jsonix .Class({ // REWORK @@ -329,9 +329,9 @@ Jsonix.Request = Jsonix CLASS_NAME : 'Jsonix.Request' }); Jsonix.Request.INSTANCE = new Jsonix.Request(); -Jsonix.Request.PROXY = null; -Jsonix.Schema = {}; -Jsonix.Model = {}; +Jsonix.Request.PROXY = null; +Jsonix.Schema = {}; +Jsonix.Model = {}; Jsonix.Util.Type = { exists : function(value) { return (typeof value !== 'undefined' && value !== null); @@ -550,12 +550,12 @@ Jsonix.Util.Type = { } } -}; +}; Jsonix.Util.NumberUtils = { isInteger : function(value) { return Jsonix.Util.Type.isNumber(value) && ((value % 1) === 0); } -}; +}; Jsonix.Util.StringUtils = { trim : (!!String.prototype.trim) ? function(str) { @@ -738,7 +738,7 @@ Jsonix.Util.StringUtils = { return list; } } -}; +}; Jsonix.Util.Ensure = { ensureBoolean : function(value) { if (!Jsonix.Util.Type.isBoolean(value)) { @@ -792,7 +792,7 @@ Jsonix.Util.Ensure = { throw new Error('Argument [' + value + '] does not exist.'); } } -}; +}; Jsonix.XML.QName = Jsonix.Class({ key : null, namespaceURI : null, @@ -931,7 +931,7 @@ Jsonix.XML.QName.key = function(namespaceURI, localPart) { } else { return localPart; } -}; +}; Jsonix.XML.Calendar = Jsonix.Class({ year : NaN, month : NaN, @@ -1093,7 +1093,7 @@ Jsonix.XML.Calendar.validateTimezone = function(timezone) { if (timezone < Jsonix.XML.Calendar.MIN_TIMEZONE || timezone > Jsonix.XML.Calendar.MAX_TIMEZONE) { throw new Error('Invalid timezone [' + timezone + ']. Timezone must not be in range [' + Jsonix.XML.Calendar.MIN_TIMEZONE + ', ' + Jsonix.XML.Calendar.MAX_TIMEZONE + '].'); } -}; +}; Jsonix.XML.Input = Jsonix.Class({ root : null, node : null, @@ -1521,7 +1521,7 @@ Jsonix.XML.Input.CDATA = 12; Jsonix.XML.Input.NAMESPACE = 13; Jsonix.XML.Input.NOTATION_DECLARATION = 14; Jsonix.XML.Input.ENTITY_DECLARATION = 15; - + Jsonix.XML.Output = Jsonix.Class({ document : null, documentElement : null, @@ -1832,8 +1832,8 @@ Jsonix.XML.Output = Jsonix.Class({ }, CLASS_NAME : "Jsonix.XML.Output" }); - -Jsonix.Mapping = {}; + +Jsonix.Mapping = {}; Jsonix.Mapping.Style = Jsonix.Class({ marshaller : null, unmarshaller : null, @@ -1855,7 +1855,7 @@ Jsonix.Mapping.Style = Jsonix.Class({ CLASS_NAME : 'Jsonix.Mapping.Style' }); -Jsonix.Mapping.Style.STYLES = {}; +Jsonix.Mapping.Style.STYLES = {}; Jsonix.Mapping.Styled = Jsonix.Class({ mappingStyle : null, initialize : function(options) { @@ -1876,8 +1876,8 @@ Jsonix.Mapping.Styled = Jsonix.Class({ } }, CLASS_NAME : 'Jsonix.Mapping.Styled' -}); -Jsonix.Binding = {}; +}); +Jsonix.Binding = {}; Jsonix.Binding.Marshalls = { }; @@ -1954,7 +1954,7 @@ Jsonix.Binding.Marshalls.Element.AsElementRef = Jsonix.Class({ throw new Error("Invalid element value [" + elementValue + "]. Element values must either have {name:'myElementName', value: elementValue} or {myElementName:elementValue} structure."); } }); - + Jsonix.Binding.Unmarshalls = {}; Jsonix.Binding.Unmarshalls.WrapperElement = Jsonix.Class({ @@ -2048,7 +2048,7 @@ Jsonix.Binding.Unmarshalls.Element.AsSimplifiedElementRef = Jsonix.Class({ value[propertyName] = typedNamedValue.value; return value; } -}); +}); Jsonix.Binding.Marshaller = Jsonix.Class(Jsonix.Binding.Marshalls.Element, Jsonix.Binding.Marshalls.Element.AsElementRef, { context : null, initialize : function(context) { @@ -2074,7 +2074,7 @@ Jsonix.Binding.Marshaller = Jsonix.Class(Jsonix.Binding.Marshalls.Element, Jsoni }); Jsonix.Binding.Marshaller.Simplified = Jsonix.Class(Jsonix.Binding.Marshaller, { CLASS_NAME : 'Jsonix.Binding.Marshaller.Simplified' -}); +}); Jsonix.Binding.Unmarshaller = Jsonix.Class(Jsonix.Binding.Unmarshalls.Element, Jsonix.Binding.Unmarshalls.Element.AsElementRef, { context : null, allowTypedObject : true, @@ -2094,7 +2094,7 @@ Jsonix.Binding.Unmarshaller = Jsonix.Class(Jsonix.Binding.Unmarshalls.Element, J if (Jsonix.Util.Type.exists(options)) { Jsonix.Util.Ensure.ensureObject(options); } - that = this; + var that = this; Jsonix.DOM.load(url, function(doc) { callback(that.unmarshalDocument(doc)); }, options); @@ -2135,7 +2135,7 @@ Jsonix.Binding.Unmarshaller = Jsonix.Class(Jsonix.Binding.Unmarshalls.Element, J }); Jsonix.Binding.Unmarshaller.Simplified = Jsonix.Class(Jsonix.Binding.Unmarshaller, Jsonix.Binding.Unmarshalls.Element.AsSimplifiedElementRef, { CLASS_NAME : 'Jsonix.Binding.Unmarshaller.Simplified' -}); +}); Jsonix.Model.TypeInfo = Jsonix.Class({ module: null, name : null, @@ -2153,7 +2153,7 @@ Jsonix.Model.TypeInfo = Jsonix.Class({ return false; }, CLASS_NAME : 'Jsonix.Model.TypeInfo' -}); +}); Jsonix.Model.ClassInfo = Jsonix .Class(Jsonix.Model.TypeInfo, Jsonix.Mapping.Styled, { name : null, @@ -2554,7 +2554,7 @@ Jsonix.Model.ClassInfo.prototype.propertyInfoCreators = { "elementRefs" : Jsonix.Model.ClassInfo.prototype.ers, "v" : Jsonix.Model.ClassInfo.prototype.v, "value" : Jsonix.Model.ClassInfo.prototype.v -}; +}; Jsonix.Model.EnumLeafInfo = Jsonix.Class(Jsonix.Model.TypeInfo, { name : null, baseTypeInfo : 'String', @@ -2715,7 +2715,7 @@ Jsonix.Model.EnumLeafInfo = Jsonix.Class(Jsonix.Model.TypeInfo, { return false; }, CLASS_NAME : 'Jsonix.Model.EnumLeafInfo' -}); +}); Jsonix.Model.ElementInfo = Jsonix.Class({ module: null, elementName : null, @@ -2755,7 +2755,7 @@ Jsonix.Model.ElementInfo = Jsonix.Class({ } }, CLASS_NAME : 'Jsonix.Model.ElementInfo' -}); +}); Jsonix.Model.PropertyInfo = Jsonix.Class({ name : null, collection : false, @@ -2832,7 +2832,7 @@ Jsonix.Model.PropertyInfo = Jsonix.Class({ } }, CLASS_NAME : 'Jsonix.Model.PropertyInfo' -}); +}); Jsonix.Model.AnyAttributePropertyInfo = Jsonix.Class(Jsonix.Model.PropertyInfo, { initialize : function(mapping) { Jsonix.Util.Ensure.ensureObject(mapping); @@ -2898,7 +2898,7 @@ Jsonix.Model.AnyAttributePropertyInfo.Simplified = Jsonix.Class(Jsonix.Model.Any return attributeName.toCanonicalString(context); } }); - + Jsonix.Model.SingleTypePropertyInfo = Jsonix.Class(Jsonix.Model.PropertyInfo, { typeInfo : 'String', initialize : function(mapping) { @@ -2921,7 +2921,7 @@ Jsonix.Model.SingleTypePropertyInfo = Jsonix.Class(Jsonix.Model.PropertyInfo, { }, CLASS_NAME : 'Jsonix.Model.SingleTypePropertyInfo' }); - + Jsonix.Model.AttributePropertyInfo = Jsonix.Class(Jsonix.Model.SingleTypePropertyInfo, { attributeName : null, initialize : function(mapping) { @@ -2972,7 +2972,7 @@ Jsonix.Model.AttributePropertyInfo = Jsonix.Class(Jsonix.Model.SingleTypePropert }, CLASS_NAME : 'Jsonix.Model.AttributePropertyInfo' }); - + Jsonix.Model.ValuePropertyInfo = Jsonix.Class(Jsonix.Model.SingleTypePropertyInfo, { initialize : function(mapping) { Jsonix.Util.Ensure.ensureObject(mapping); @@ -3012,7 +3012,7 @@ Jsonix.Model.ValuePropertyInfo = Jsonix.Class(Jsonix.Model.SingleTypePropertyInf }, CLASS_NAME : 'Jsonix.Model.ValuePropertyInfo' }); - + Jsonix.Model.AbstractElementsPropertyInfo = Jsonix.Class(Jsonix.Binding.Unmarshalls.Element, Jsonix.Binding.Unmarshalls.WrapperElement, Jsonix.Model.PropertyInfo, { wrapperElementName : null, allowDom : false, @@ -3107,7 +3107,7 @@ Jsonix.Model.AbstractElementsPropertyInfo = Jsonix.Class(Jsonix.Binding.Unmarsha }, CLASS_NAME : 'Jsonix.Model.AbstractElementsPropertyInfo' }); - + Jsonix.Model.ElementPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementsPropertyInfo, Jsonix.Binding.Marshalls.Element, { typeInfo : 'String', elementName : null, @@ -3148,7 +3148,7 @@ Jsonix.Model.ElementPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementsPro }, CLASS_NAME : 'Jsonix.Model.ElementPropertyInfo' }); - + Jsonix.Model.ElementsPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementsPropertyInfo, Jsonix.Binding.Marshalls.Element, { elementTypeInfos : null, elementTypeInfosMap : null, @@ -3225,7 +3225,7 @@ Jsonix.Model.ElementsPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementsPr }, CLASS_NAME : 'Jsonix.Model.ElementsPropertyInfo' }); - + Jsonix.Model.ElementMapPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementsPropertyInfo, { elementName : null, key : null, @@ -3383,7 +3383,7 @@ Jsonix.Model.ElementMapPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElements }, CLASS_NAME : 'Jsonix.Model.ElementMapPropertyInfo' }); - + Jsonix.Model.AbstractElementRefsPropertyInfo = Jsonix.Class(Jsonix.Binding.Marshalls.Element, Jsonix.Binding.Marshalls.Element.AsElementRef, Jsonix.Binding.Unmarshalls.Element, Jsonix.Binding.Unmarshalls.WrapperElement, Jsonix.Binding.Unmarshalls.Element.AsElementRef, Jsonix.Model.PropertyInfo, { wrapperElementName : null, allowDom : true, @@ -3561,7 +3561,7 @@ Jsonix.Model.AbstractElementRefsPropertyInfo = Jsonix.Class(Jsonix.Binding.Marsh } }, CLASS_NAME : 'Jsonix.Model.AbstractElementRefsPropertyInfo' -}); +}); Jsonix.Model.ElementRefPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementRefsPropertyInfo, { typeInfo : 'String', elementName : null, @@ -3604,7 +3604,7 @@ Jsonix.Model.ElementRefPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementR }); Jsonix.Model.ElementRefPropertyInfo.Simplified = Jsonix.Class(Jsonix.Model.ElementRefPropertyInfo, Jsonix.Binding.Unmarshalls.Element.AsSimplifiedElementRef, { CLASS_NAME : 'Jsonix.Model.ElementRefPropertyInfo.Simplified' -}); +}); Jsonix.Model.ElementRefsPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElementRefsPropertyInfo, { elementTypeInfos : null, elementTypeInfosMap : null, @@ -3657,7 +3657,7 @@ Jsonix.Model.ElementRefsPropertyInfo = Jsonix.Class(Jsonix.Model.AbstractElement Jsonix.Model.ElementRefsPropertyInfo.Simplified = Jsonix.Class(Jsonix.Model.ElementRefsPropertyInfo, Jsonix.Binding.Unmarshalls.Element.AsSimplifiedElementRef, { CLASS_NAME : 'Jsonix.Model.ElementRefsPropertyInfo.Simplified' }); - + Jsonix.Model.AnyElementPropertyInfo = Jsonix.Class(Jsonix.Binding.Marshalls.Element, Jsonix.Binding.Marshalls.Element.AsElementRef, Jsonix.Binding.Unmarshalls.Element, Jsonix.Binding.Unmarshalls.Element.AsElementRef, Jsonix.Model.PropertyInfo, { allowDom : true, allowTypedObject : true, @@ -3773,7 +3773,7 @@ Jsonix.Model.AnyElementPropertyInfo = Jsonix.Class(Jsonix.Binding.Marshalls.Elem }); Jsonix.Model.AnyElementPropertyInfo.Simplified = Jsonix.Class(Jsonix.Model.AnyElementPropertyInfo, Jsonix.Binding.Unmarshalls.Element.AsSimplifiedElementRef, { CLASS_NAME : 'Jsonix.Model.AnyElementPropertyInfo.Simplified' -}); +}); Jsonix.Model.Module = Jsonix.Class(Jsonix.Mapping.Styled, { name : null, typeInfos : null, @@ -4022,7 +4022,7 @@ Jsonix.Model.Module.prototype.typeInfoCreators = { "enum" : Jsonix.Model.Module.prototype.createEnumLeafInfo, "list" : Jsonix.Model.Module.prototype.createList, "l" : Jsonix.Model.Module.prototype.createList -}; +}; Jsonix.Mapping.Style.Standard = Jsonix.Class(Jsonix.Mapping.Style, { marshaller : Jsonix.Binding.Marshaller, unmarshaller : Jsonix.Binding.Unmarshaller, @@ -4045,7 +4045,7 @@ Jsonix.Mapping.Style.Standard = Jsonix.Class(Jsonix.Mapping.Style, { CLASS_NAME : 'Jsonix.Mapping.Style.Standard' }); Jsonix.Mapping.Style.STYLES.standard = new Jsonix.Mapping.Style.Standard(); - + Jsonix.Mapping.Style.Simplified = Jsonix.Class(Jsonix.Mapping.Style, { marshaller : Jsonix.Binding.Marshaller.Simplified, unmarshaller : Jsonix.Binding.Unmarshaller.Simplified, @@ -4068,7 +4068,7 @@ Jsonix.Mapping.Style.Simplified = Jsonix.Class(Jsonix.Mapping.Style, { CLASS_NAME : 'Jsonix.Mapping.Style.Simplified' }); Jsonix.Mapping.Style.STYLES.simplified = new Jsonix.Mapping.Style.Simplified(); - + Jsonix.Schema.XSD = {}; Jsonix.Schema.XSD.NAMESPACE_URI = 'http://www.w3.org/2001/XMLSchema'; Jsonix.Schema.XSD.PREFIX = 'xsd'; @@ -4077,7 +4077,7 @@ Jsonix.Schema.XSD.qname = function(localPart) { return new Jsonix.XML.QName(Jsonix.Schema.XSD.NAMESPACE_URI, localPart, Jsonix.Schema.XSD.PREFIX); }; - + Jsonix.Schema.XSD.AnyType = Jsonix.Class(Jsonix.Model.ClassInfo, { typeName : Jsonix.Schema.XSD.qname('anyType'), initialize : function() { @@ -4095,7 +4095,7 @@ Jsonix.Schema.XSD.AnyType = Jsonix.Class(Jsonix.Model.ClassInfo, { }, CLASS_NAME : 'Jsonix.Schema.XSD.AnyType' }); -Jsonix.Schema.XSD.AnyType.INSTANCE = new Jsonix.Schema.XSD.AnyType(); +Jsonix.Schema.XSD.AnyType.INSTANCE = new Jsonix.Schema.XSD.AnyType(); Jsonix.Schema.XSD.AnySimpleType = Jsonix.Class(Jsonix.Model.TypeInfo, { name : 'AnySimpleType', typeName : Jsonix.Schema.XSD.qname('anySimpleType'), @@ -4143,7 +4143,7 @@ Jsonix.Schema.XSD.AnySimpleType = Jsonix.Class(Jsonix.Model.TypeInfo, { }, CLASS_NAME : 'Jsonix.Schema.XSD.AnySimpleType' }); -Jsonix.Schema.XSD.AnySimpleType.INSTANCE = new Jsonix.Schema.XSD.AnySimpleType(); +Jsonix.Schema.XSD.AnySimpleType.INSTANCE = new Jsonix.Schema.XSD.AnySimpleType(); Jsonix.Schema.XSD.List = Jsonix .Class( Jsonix.Schema.XSD.AnySimpleType, @@ -4218,7 +4218,7 @@ Jsonix.Schema.XSD.List = Jsonix // TODO isInstance? CLASS_NAME : 'Jsonix.Schema.XSD.List' }); - + Jsonix.Schema.XSD.String = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'String', typeName : Jsonix.Schema.XSD.qname('string'), @@ -4241,7 +4241,7 @@ Jsonix.Schema.XSD.String = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { }); Jsonix.Schema.XSD.String.INSTANCE = new Jsonix.Schema.XSD.String(); Jsonix.Schema.XSD.String.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.String.INSTANCE); + Jsonix.Schema.XSD.String.INSTANCE); Jsonix.Schema.XSD.Strings = Jsonix.Class(Jsonix.Schema.XSD.List, { name : 'Strings', initialize : function() { @@ -4250,7 +4250,7 @@ Jsonix.Schema.XSD.Strings = Jsonix.Class(Jsonix.Schema.XSD.List, { // TODO Constraints CLASS_NAME : 'Jsonix.Schema.XSD.Strings' }); -Jsonix.Schema.XSD.Strings.INSTANCE = new Jsonix.Schema.XSD.Strings(); +Jsonix.Schema.XSD.Strings.INSTANCE = new Jsonix.Schema.XSD.Strings(); Jsonix.Schema.XSD.NormalizedString = Jsonix.Class(Jsonix.Schema.XSD.String, { name : 'NormalizedString', typeName : Jsonix.Schema.XSD.qname('normalizedString'), @@ -4258,7 +4258,7 @@ Jsonix.Schema.XSD.NormalizedString = Jsonix.Class(Jsonix.Schema.XSD.String, { CLASS_NAME : 'Jsonix.Schema.XSD.NormalizedString' }); Jsonix.Schema.XSD.NormalizedString.INSTANCE = new Jsonix.Schema.XSD.NormalizedString(); -Jsonix.Schema.XSD.NormalizedString.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.NormalizedString.INSTANCE); +Jsonix.Schema.XSD.NormalizedString.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.NormalizedString.INSTANCE); Jsonix.Schema.XSD.Token = Jsonix.Class(Jsonix.Schema.XSD.NormalizedString, { name : 'Token', typeName : Jsonix.Schema.XSD.qname('token'), @@ -4266,7 +4266,7 @@ Jsonix.Schema.XSD.Token = Jsonix.Class(Jsonix.Schema.XSD.NormalizedString, { CLASS_NAME : 'Jsonix.Schema.XSD.Token' }); Jsonix.Schema.XSD.Token.INSTANCE = new Jsonix.Schema.XSD.Token(); -Jsonix.Schema.XSD.Token.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Token.INSTANCE); +Jsonix.Schema.XSD.Token.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Token.INSTANCE); Jsonix.Schema.XSD.Language = Jsonix.Class(Jsonix.Schema.XSD.Token, { name : 'Language', typeName : Jsonix.Schema.XSD.qname('language'), @@ -4274,7 +4274,7 @@ Jsonix.Schema.XSD.Language = Jsonix.Class(Jsonix.Schema.XSD.Token, { CLASS_NAME : 'Jsonix.Schema.XSD.Language' }); Jsonix.Schema.XSD.Language.INSTANCE = new Jsonix.Schema.XSD.Language(); -Jsonix.Schema.XSD.Language.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Language.INSTANCE); +Jsonix.Schema.XSD.Language.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Language.INSTANCE); Jsonix.Schema.XSD.Name = Jsonix.Class(Jsonix.Schema.XSD.Token, { name : 'Name', typeName : Jsonix.Schema.XSD.qname('Name'), @@ -4282,7 +4282,7 @@ Jsonix.Schema.XSD.Name = Jsonix.Class(Jsonix.Schema.XSD.Token, { CLASS_NAME : 'Jsonix.Schema.XSD.Name' }); Jsonix.Schema.XSD.Name.INSTANCE = new Jsonix.Schema.XSD.Name(); -Jsonix.Schema.XSD.Name.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Name.INSTANCE); +Jsonix.Schema.XSD.Name.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Name.INSTANCE); Jsonix.Schema.XSD.NCName = Jsonix.Class(Jsonix.Schema.XSD.Name, { name : 'NCName', typeName : Jsonix.Schema.XSD.qname('NCName'), @@ -4290,14 +4290,14 @@ Jsonix.Schema.XSD.NCName = Jsonix.Class(Jsonix.Schema.XSD.Name, { CLASS_NAME : 'Jsonix.Schema.XSD.NCName' }); Jsonix.Schema.XSD.NCName.INSTANCE = new Jsonix.Schema.XSD.NCName(); -Jsonix.Schema.XSD.NCName.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.NCName.INSTANCE); +Jsonix.Schema.XSD.NCName.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.NCName.INSTANCE); Jsonix.Schema.XSD.NMToken = Jsonix.Class(Jsonix.Schema.XSD.Token, { name : 'NMToken', typeName : Jsonix.Schema.XSD.qname('NMTOKEN'), // TODO Constraints CLASS_NAME : 'Jsonix.Schema.XSD.NMToken' }); -Jsonix.Schema.XSD.NMToken.INSTANCE = new Jsonix.Schema.XSD.NMToken(); +Jsonix.Schema.XSD.NMToken.INSTANCE = new Jsonix.Schema.XSD.NMToken(); Jsonix.Schema.XSD.NMTokens = Jsonix.Class(Jsonix.Schema.XSD.List, { name : 'NMTokens', initialize : function() { @@ -4306,7 +4306,7 @@ Jsonix.Schema.XSD.NMTokens = Jsonix.Class(Jsonix.Schema.XSD.List, { // TODO Constraints CLASS_NAME : 'Jsonix.Schema.XSD.NMTokens' }); -Jsonix.Schema.XSD.NMTokens.INSTANCE = new Jsonix.Schema.XSD.NMTokens(); +Jsonix.Schema.XSD.NMTokens.INSTANCE = new Jsonix.Schema.XSD.NMTokens(); Jsonix.Schema.XSD.Boolean = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Boolean', typeName : Jsonix.Schema.XSD.qname('boolean'), @@ -4330,7 +4330,7 @@ Jsonix.Schema.XSD.Boolean = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.Boolean' }); Jsonix.Schema.XSD.Boolean.INSTANCE = new Jsonix.Schema.XSD.Boolean(); -Jsonix.Schema.XSD.Boolean.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Boolean.INSTANCE); +Jsonix.Schema.XSD.Boolean.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Boolean.INSTANCE); Jsonix.Schema.XSD.Base64Binary = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Base64Binary', typeName : Jsonix.Schema.XSD.qname('base64Binary'), @@ -4445,7 +4445,7 @@ Jsonix.Schema.XSD.Base64Binary = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.Base64Binary' }); Jsonix.Schema.XSD.Base64Binary.INSTANCE = new Jsonix.Schema.XSD.Base64Binary(); -Jsonix.Schema.XSD.Base64Binary.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Base64Binary.INSTANCE); +Jsonix.Schema.XSD.Base64Binary.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Base64Binary.INSTANCE); Jsonix.Schema.XSD.HexBinary = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'HexBinary', typeName : Jsonix.Schema.XSD.qname('hexBinary'), @@ -4504,7 +4504,7 @@ Jsonix.Schema.XSD.HexBinary = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { }); Jsonix.Schema.XSD.HexBinary.INSTANCE = new Jsonix.Schema.XSD.HexBinary(); Jsonix.Schema.XSD.HexBinary.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.HexBinary.INSTANCE); + Jsonix.Schema.XSD.HexBinary.INSTANCE); Jsonix.Schema.XSD.Number = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Number', typeName : Jsonix.Schema.XSD.qname('number'), @@ -4541,7 +4541,7 @@ Jsonix.Schema.XSD.Number = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.Number' }); Jsonix.Schema.XSD.Number.INSTANCE = new Jsonix.Schema.XSD.Number(); -Jsonix.Schema.XSD.Number.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Number.INSTANCE); +Jsonix.Schema.XSD.Number.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Number.INSTANCE); Jsonix.Schema.XSD.Float = Jsonix.Class(Jsonix.Schema.XSD.Number, { name : 'Float', typeName : Jsonix.Schema.XSD.qname('float'), @@ -4553,7 +4553,7 @@ Jsonix.Schema.XSD.Float = Jsonix.Class(Jsonix.Schema.XSD.Number, { CLASS_NAME : 'Jsonix.Schema.XSD.Float' }); Jsonix.Schema.XSD.Float.INSTANCE = new Jsonix.Schema.XSD.Float(); -Jsonix.Schema.XSD.Float.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Float.INSTANCE); +Jsonix.Schema.XSD.Float.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Float.INSTANCE); Jsonix.Schema.XSD.Decimal = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Decimal', typeName : Jsonix.Schema.XSD.qname('decimal'), @@ -4574,7 +4574,7 @@ Jsonix.Schema.XSD.Decimal = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.Decimal' }); Jsonix.Schema.XSD.Decimal.INSTANCE = new Jsonix.Schema.XSD.Decimal(); -Jsonix.Schema.XSD.Decimal.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Decimal.INSTANCE); +Jsonix.Schema.XSD.Decimal.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Decimal.INSTANCE); Jsonix.Schema.XSD.Integer = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Integer', typeName : Jsonix.Schema.XSD.qname('integer'), @@ -4597,7 +4597,7 @@ Jsonix.Schema.XSD.Integer = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.Integer' }); Jsonix.Schema.XSD.Integer.INSTANCE = new Jsonix.Schema.XSD.Integer(); -Jsonix.Schema.XSD.Integer.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Integer.INSTANCE); +Jsonix.Schema.XSD.Integer.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Integer.INSTANCE); Jsonix.Schema.XSD.NonPositiveInteger = Jsonix.Class(Jsonix.Schema.XSD.Integer, { name : 'NonPositiveInteger', typeName : Jsonix.Schema.XSD.qname('nonPositiveInteger'), @@ -4607,7 +4607,7 @@ Jsonix.Schema.XSD.NonPositiveInteger = Jsonix.Class(Jsonix.Schema.XSD.Integer, { }); Jsonix.Schema.XSD.NonPositiveInteger.INSTANCE = new Jsonix.Schema.XSD.NonPositiveInteger(); Jsonix.Schema.XSD.NonPositiveInteger.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.NonPositiveInteger.INSTANCE); + Jsonix.Schema.XSD.NonPositiveInteger.INSTANCE); Jsonix.Schema.XSD.NegativeInteger = Jsonix.Class(Jsonix.Schema.XSD.NonPositiveInteger, { name : 'NegativeInteger', typeName : Jsonix.Schema.XSD.qname('negativeInteger'), @@ -4617,7 +4617,7 @@ Jsonix.Schema.XSD.NegativeInteger = Jsonix.Class(Jsonix.Schema.XSD.NonPositiveIn }); Jsonix.Schema.XSD.NegativeInteger.INSTANCE = new Jsonix.Schema.XSD.NegativeInteger(); Jsonix.Schema.XSD.NegativeInteger.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.NegativeInteger.INSTANCE); + Jsonix.Schema.XSD.NegativeInteger.INSTANCE); Jsonix.Schema.XSD.Long = Jsonix.Class(Jsonix.Schema.XSD.Integer, { name : 'Long', typeName : Jsonix.Schema.XSD.qname('long'), @@ -4627,7 +4627,7 @@ Jsonix.Schema.XSD.Long = Jsonix.Class(Jsonix.Schema.XSD.Integer, { }); Jsonix.Schema.XSD.Long.INSTANCE = new Jsonix.Schema.XSD.Long(); Jsonix.Schema.XSD.Long.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.Long.INSTANCE); + Jsonix.Schema.XSD.Long.INSTANCE); Jsonix.Schema.XSD.Int = Jsonix.Class(Jsonix.Schema.XSD.Long, { name : 'Int', typeName : Jsonix.Schema.XSD.qname('int'), @@ -4637,7 +4637,7 @@ Jsonix.Schema.XSD.Int = Jsonix.Class(Jsonix.Schema.XSD.Long, { }); Jsonix.Schema.XSD.Int.INSTANCE = new Jsonix.Schema.XSD.Int(); Jsonix.Schema.XSD.Int.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.Int.INSTANCE); + Jsonix.Schema.XSD.Int.INSTANCE); Jsonix.Schema.XSD.Short = Jsonix.Class(Jsonix.Schema.XSD.Int, { name : 'Short', typeName : Jsonix.Schema.XSD.qname('short'), @@ -4646,7 +4646,7 @@ Jsonix.Schema.XSD.Short = Jsonix.Class(Jsonix.Schema.XSD.Int, { CLASS_NAME : 'Jsonix.Schema.XSD.Short' }); Jsonix.Schema.XSD.Short.INSTANCE = new Jsonix.Schema.XSD.Short(); -Jsonix.Schema.XSD.Short.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Short.INSTANCE); +Jsonix.Schema.XSD.Short.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Short.INSTANCE); Jsonix.Schema.XSD.Byte = Jsonix.Class(Jsonix.Schema.XSD.Short, { name : 'Byte', typeName : Jsonix.Schema.XSD.qname('byte'), @@ -4655,7 +4655,7 @@ Jsonix.Schema.XSD.Byte = Jsonix.Class(Jsonix.Schema.XSD.Short, { CLASS_NAME : 'Jsonix.Schema.XSD.Byte' }); Jsonix.Schema.XSD.Byte.INSTANCE = new Jsonix.Schema.XSD.Byte(); -Jsonix.Schema.XSD.Byte.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Byte.INSTANCE); +Jsonix.Schema.XSD.Byte.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Byte.INSTANCE); Jsonix.Schema.XSD.NonNegativeInteger = Jsonix.Class(Jsonix.Schema.XSD.Integer, { name : 'NonNegativeInteger', typeName : Jsonix.Schema.XSD.qname('nonNegativeInteger'), @@ -4665,7 +4665,7 @@ Jsonix.Schema.XSD.NonNegativeInteger = Jsonix.Class(Jsonix.Schema.XSD.Integer, { }); Jsonix.Schema.XSD.NonNegativeInteger.INSTANCE = new Jsonix.Schema.XSD.NonNegativeInteger(); Jsonix.Schema.XSD.NonNegativeInteger.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.NonNegativeInteger.INSTANCE); + Jsonix.Schema.XSD.NonNegativeInteger.INSTANCE); Jsonix.Schema.XSD.UnsignedLong = Jsonix.Class(Jsonix.Schema.XSD.NonNegativeInteger, { name : 'UnsignedLong', typeName : Jsonix.Schema.XSD.qname('unsignedLong'), @@ -4674,7 +4674,7 @@ Jsonix.Schema.XSD.UnsignedLong = Jsonix.Class(Jsonix.Schema.XSD.NonNegativeInteg CLASS_NAME : 'Jsonix.Schema.XSD.UnsignedLong' }); Jsonix.Schema.XSD.UnsignedLong.INSTANCE = new Jsonix.Schema.XSD.UnsignedLong(); -Jsonix.Schema.XSD.UnsignedLong.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedLong.INSTANCE); +Jsonix.Schema.XSD.UnsignedLong.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedLong.INSTANCE); Jsonix.Schema.XSD.UnsignedInt = Jsonix.Class(Jsonix.Schema.XSD.UnsignedLong, { name : 'UnsignedInt', typeName : Jsonix.Schema.XSD.qname('unsignedInt'), @@ -4683,7 +4683,7 @@ Jsonix.Schema.XSD.UnsignedInt = Jsonix.Class(Jsonix.Schema.XSD.UnsignedLong, { CLASS_NAME : 'Jsonix.Schema.XSD.UnsignedInt' }); Jsonix.Schema.XSD.UnsignedInt.INSTANCE = new Jsonix.Schema.XSD.UnsignedInt(); -Jsonix.Schema.XSD.UnsignedInt.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedInt.INSTANCE); +Jsonix.Schema.XSD.UnsignedInt.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedInt.INSTANCE); Jsonix.Schema.XSD.UnsignedShort = Jsonix.Class(Jsonix.Schema.XSD.UnsignedInt, { name : 'UnsignedShort', typeName : Jsonix.Schema.XSD.qname('unsignedShort'), @@ -4692,7 +4692,7 @@ Jsonix.Schema.XSD.UnsignedShort = Jsonix.Class(Jsonix.Schema.XSD.UnsignedInt, { CLASS_NAME : 'Jsonix.Schema.XSD.UnsignedShort' }); Jsonix.Schema.XSD.UnsignedShort.INSTANCE = new Jsonix.Schema.XSD.UnsignedShort(); -Jsonix.Schema.XSD.UnsignedShort.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedShort.INSTANCE); +Jsonix.Schema.XSD.UnsignedShort.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedShort.INSTANCE); Jsonix.Schema.XSD.UnsignedByte = Jsonix.Class(Jsonix.Schema.XSD.UnsignedShort, { name : 'UnsignedByte', typeName : Jsonix.Schema.XSD.qname('unsignedByte'), @@ -4701,7 +4701,7 @@ Jsonix.Schema.XSD.UnsignedByte = Jsonix.Class(Jsonix.Schema.XSD.UnsignedShort, { CLASS_NAME : 'Jsonix.Schema.XSD.UnsignedByte' }); Jsonix.Schema.XSD.UnsignedByte.INSTANCE = new Jsonix.Schema.XSD.UnsignedByte(); -Jsonix.Schema.XSD.UnsignedByte.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedByte.INSTANCE); +Jsonix.Schema.XSD.UnsignedByte.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.UnsignedByte.INSTANCE); Jsonix.Schema.XSD.PositiveInteger = Jsonix.Class(Jsonix.Schema.XSD.NonNegativeInteger, { name : 'PositiveInteger', typeName : Jsonix.Schema.XSD.qname('positiveInteger'), @@ -4710,7 +4710,7 @@ Jsonix.Schema.XSD.PositiveInteger = Jsonix.Class(Jsonix.Schema.XSD.NonNegativeIn CLASS_NAME : 'Jsonix.Schema.XSD.PositiveInteger' }); Jsonix.Schema.XSD.PositiveInteger.INSTANCE = new Jsonix.Schema.XSD.PositiveInteger(); -Jsonix.Schema.XSD.PositiveInteger.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.PositiveInteger.INSTANCE); +Jsonix.Schema.XSD.PositiveInteger.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.PositiveInteger.INSTANCE); Jsonix.Schema.XSD.Double = Jsonix.Class(Jsonix.Schema.XSD.Number, { name : 'Double', typeName : Jsonix.Schema.XSD.qname('double'), @@ -4722,7 +4722,7 @@ Jsonix.Schema.XSD.Double = Jsonix.Class(Jsonix.Schema.XSD.Number, { CLASS_NAME : 'Jsonix.Schema.XSD.Double' }); Jsonix.Schema.XSD.Double.INSTANCE = new Jsonix.Schema.XSD.Double(); -Jsonix.Schema.XSD.Double.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Double.INSTANCE); +Jsonix.Schema.XSD.Double.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Double.INSTANCE); Jsonix.Schema.XSD.AnyURI = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'AnyURI', typeName : Jsonix.Schema.XSD.qname('anyURI'), @@ -4740,7 +4740,7 @@ Jsonix.Schema.XSD.AnyURI = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { CLASS_NAME : 'Jsonix.Schema.XSD.AnyURI' }); Jsonix.Schema.XSD.AnyURI.INSTANCE = new Jsonix.Schema.XSD.AnyURI(); -Jsonix.Schema.XSD.AnyURI.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.AnyURI.INSTANCE); +Jsonix.Schema.XSD.AnyURI.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.AnyURI.INSTANCE); Jsonix.Schema.XSD.QName = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'QName', typeName : Jsonix.Schema.XSD.qname('QName'), @@ -4797,7 +4797,7 @@ Jsonix.Schema.XSD.QName = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { }); Jsonix.Schema.XSD.QName.INSTANCE = new Jsonix.Schema.XSD.QName(); Jsonix.Schema.XSD.QName.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.QName.INSTANCE); + Jsonix.Schema.XSD.QName.INSTANCE); Jsonix.Schema.XSD.Calendar = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Calendar', typeName : Jsonix.Schema.XSD.qname('calendar'), @@ -5250,7 +5250,7 @@ Jsonix.Schema.XSD.Calendar.TIME_PATTERN = Jsonix.Schema.XSD.Calendar.TIME_PART_P Jsonix.Schema.XSD.Calendar.DATE_PATTERN = Jsonix.Schema.XSD.Calendar.DATE_PART_PATTERN + '(' + Jsonix.Schema.XSD.Calendar.TIMEZONE_PATTERN + ')?'; Jsonix.Schema.XSD.Calendar.DATETIME_PATTERN = Jsonix.Schema.XSD.Calendar.DATE_PART_PATTERN + 'T' + Jsonix.Schema.XSD.Calendar.TIME_PART_PATTERN + '(' + Jsonix.Schema.XSD.Calendar.TIMEZONE_PATTERN + ')?'; Jsonix.Schema.XSD.Calendar.INSTANCE = new Jsonix.Schema.XSD.Calendar(); -Jsonix.Schema.XSD.Calendar.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Calendar.INSTANCE); +Jsonix.Schema.XSD.Calendar.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Calendar.INSTANCE); Jsonix.Schema.XSD.Duration = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { name : 'Duration', typeName : Jsonix.Schema.XSD.qname('duration'), @@ -5358,7 +5358,7 @@ Jsonix.Schema.XSD.Duration = Jsonix.Class(Jsonix.Schema.XSD.AnySimpleType, { }); Jsonix.Schema.XSD.Duration.PATTERN = '(-)?P(([0-9]+)Y)?(([0-9]+)M)?(([0-9]+)D)?(T(([0-9]+)H)?(([0-9]+)M)?(([0-9]+(\\.[0-9]+)?)S)?)?'; Jsonix.Schema.XSD.Duration.INSTANCE = new Jsonix.Schema.XSD.Duration(); -Jsonix.Schema.XSD.Duration.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Duration.INSTANCE); +Jsonix.Schema.XSD.Duration.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Duration.INSTANCE); Jsonix.Schema.XSD.DateTime = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'DateTime', typeName : Jsonix.Schema.XSD.qname('dateTime'), @@ -5372,7 +5372,7 @@ Jsonix.Schema.XSD.DateTime = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { }); Jsonix.Schema.XSD.DateTime.INSTANCE = new Jsonix.Schema.XSD.DateTime(); Jsonix.Schema.XSD.DateTime.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.DateTime.INSTANCE); - + Jsonix.Schema.XSD.DateTimeAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'DateTimeAsDate', typeName : Jsonix.Schema.XSD.qname('dateTime'), @@ -5468,7 +5468,7 @@ Jsonix.Schema.XSD.DateTimeAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { }); Jsonix.Schema.XSD.DateTimeAsDate.INSTANCE = new Jsonix.Schema.XSD.DateTimeAsDate(); Jsonix.Schema.XSD.DateTimeAsDate.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.DateTimeAsDate.INSTANCE); - + Jsonix.Schema.XSD.Time = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'Time', typeName : Jsonix.Schema.XSD.qname('time'), @@ -5481,7 +5481,7 @@ Jsonix.Schema.XSD.Time = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { CLASS_NAME : 'Jsonix.Schema.XSD.Time' }); Jsonix.Schema.XSD.Time.INSTANCE = new Jsonix.Schema.XSD.Time(); -Jsonix.Schema.XSD.Time.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Time.INSTANCE); +Jsonix.Schema.XSD.Time.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Time.INSTANCE); Jsonix.Schema.XSD.TimeAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'TimeAsDate', typeName : Jsonix.Schema.XSD.qname('time'), @@ -5589,7 +5589,7 @@ Jsonix.Schema.XSD.TimeAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { CLASS_NAME : 'Jsonix.Schema.XSD.TimeAsDate' }); Jsonix.Schema.XSD.TimeAsDate.INSTANCE = new Jsonix.Schema.XSD.TimeAsDate(); -Jsonix.Schema.XSD.TimeAsDate.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.TimeAsDate.INSTANCE); +Jsonix.Schema.XSD.TimeAsDate.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.TimeAsDate.INSTANCE); Jsonix.Schema.XSD.Date = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'Date', typeName : Jsonix.Schema.XSD.qname('date'), @@ -5602,7 +5602,7 @@ Jsonix.Schema.XSD.Date = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { CLASS_NAME : 'Jsonix.Schema.XSD.Date' }); Jsonix.Schema.XSD.Date.INSTANCE = new Jsonix.Schema.XSD.Date(); -Jsonix.Schema.XSD.Date.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Date.INSTANCE); +Jsonix.Schema.XSD.Date.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.Date.INSTANCE); Jsonix.Schema.XSD.DateAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'DateAsDate', typeName : Jsonix.Schema.XSD.qname('date'), @@ -5717,7 +5717,7 @@ Jsonix.Schema.XSD.DateAsDate = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { CLASS_NAME : 'Jsonix.Schema.XSD.DateAsDate' }); Jsonix.Schema.XSD.DateAsDate.INSTANCE = new Jsonix.Schema.XSD.DateAsDate(); -Jsonix.Schema.XSD.DateAsDate.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.DateAsDate.INSTANCE); +Jsonix.Schema.XSD.DateAsDate.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.DateAsDate.INSTANCE); Jsonix.Schema.XSD.GYearMonth = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'GYearMonth', typeName : Jsonix.Schema.XSD.qname('gYearMonth'), @@ -5733,7 +5733,7 @@ Jsonix.Schema.XSD.GYearMonth = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { }); Jsonix.Schema.XSD.GYearMonth.INSTANCE = new Jsonix.Schema.XSD.GYearMonth(); -Jsonix.Schema.XSD.GYearMonth.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GYearMonth.INSTANCE); +Jsonix.Schema.XSD.GYearMonth.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GYearMonth.INSTANCE); Jsonix.Schema.XSD.GYear = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'GYear', typeName : Jsonix.Schema.XSD.qname('gYear'), @@ -5748,7 +5748,7 @@ Jsonix.Schema.XSD.GYear = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { } }); Jsonix.Schema.XSD.GYear.INSTANCE = new Jsonix.Schema.XSD.GYear(); -Jsonix.Schema.XSD.GYear.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GYear.INSTANCE); +Jsonix.Schema.XSD.GYear.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GYear.INSTANCE); Jsonix.Schema.XSD.GMonthDay = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'GMonthDay', typeName : Jsonix.Schema.XSD.qname('gMonthDay'), @@ -5763,7 +5763,7 @@ Jsonix.Schema.XSD.GMonthDay = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { } }); Jsonix.Schema.XSD.GMonthDay.INSTANCE = new Jsonix.Schema.XSD.GMonthDay(); -Jsonix.Schema.XSD.GMonthDay.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GMonthDay.INSTANCE); +Jsonix.Schema.XSD.GMonthDay.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GMonthDay.INSTANCE); Jsonix.Schema.XSD.GDay = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'GDay', typeName : Jsonix.Schema.XSD.qname('gDay'), @@ -5779,7 +5779,7 @@ Jsonix.Schema.XSD.GDay = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { }); Jsonix.Schema.XSD.GDay.INSTANCE = new Jsonix.Schema.XSD.GDay(); -Jsonix.Schema.XSD.GDay.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GDay.INSTANCE); +Jsonix.Schema.XSD.GDay.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GDay.INSTANCE); Jsonix.Schema.XSD.GMonth = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { name : 'GMonth', typeName : Jsonix.Schema.XSD.qname('gMonth'), @@ -5792,7 +5792,7 @@ Jsonix.Schema.XSD.GMonth = Jsonix.Class(Jsonix.Schema.XSD.Calendar, { } }); Jsonix.Schema.XSD.GMonth.INSTANCE = new Jsonix.Schema.XSD.GMonth(); -Jsonix.Schema.XSD.GMonth.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GMonth.INSTANCE); +Jsonix.Schema.XSD.GMonth.INSTANCE.LIST = new Jsonix.Schema.XSD.List(Jsonix.Schema.XSD.GMonth.INSTANCE); Jsonix.Schema.XSD.ID = Jsonix.Class(Jsonix.Schema.XSD.String, { name : 'ID', typeName : Jsonix.Schema.XSD.qname('ID'), @@ -5800,7 +5800,7 @@ Jsonix.Schema.XSD.ID = Jsonix.Class(Jsonix.Schema.XSD.String, { }); Jsonix.Schema.XSD.ID.INSTANCE = new Jsonix.Schema.XSD.ID(); Jsonix.Schema.XSD.ID.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.ID.INSTANCE); + Jsonix.Schema.XSD.ID.INSTANCE); Jsonix.Schema.XSD.IDREF = Jsonix.Class(Jsonix.Schema.XSD.String, { name : 'IDREF', typeName : Jsonix.Schema.XSD.qname('IDREF'), @@ -5808,7 +5808,7 @@ Jsonix.Schema.XSD.IDREF = Jsonix.Class(Jsonix.Schema.XSD.String, { }); Jsonix.Schema.XSD.IDREF.INSTANCE = new Jsonix.Schema.XSD.IDREF(); Jsonix.Schema.XSD.IDREF.INSTANCE.LIST = new Jsonix.Schema.XSD.List( - Jsonix.Schema.XSD.IDREF.INSTANCE); + Jsonix.Schema.XSD.IDREF.INSTANCE); Jsonix.Schema.XSD.IDREFS = Jsonix.Class(Jsonix.Schema.XSD.List, { name : 'IDREFS', initialize : function() { @@ -5817,7 +5817,7 @@ Jsonix.Schema.XSD.IDREFS = Jsonix.Class(Jsonix.Schema.XSD.List, { // TODO Constraints CLASS_NAME : 'Jsonix.Schema.XSD.IDREFS' }); -Jsonix.Schema.XSD.IDREFS.INSTANCE = new Jsonix.Schema.XSD.IDREFS(); +Jsonix.Schema.XSD.IDREFS.INSTANCE = new Jsonix.Schema.XSD.IDREFS(); Jsonix.Schema.XSI = {}; Jsonix.Schema.XSI.NAMESPACE_URI = 'http://www.w3.org/2001/XMLSchema-instance'; Jsonix.Schema.XSI.PREFIX = 'xsi'; @@ -5829,7 +5829,7 @@ Jsonix.Schema.XSI.qname = function(localPart) { Jsonix.Schema.XSI.PREFIX); }; Jsonix.Schema.XSI.TYPE_QNAME = Jsonix.Schema.XSI.qname(Jsonix.Schema.XSI.TYPE); - + Jsonix.Context = Jsonix .Class(Jsonix.Mapping.Styled, { modules : [], @@ -5871,7 +5871,7 @@ Jsonix.Context = Jsonix { if (this.namespacePrefixes.hasOwnProperty(ns)) { - p = this.namespacePrefixes[ns]; + var p = this.namespacePrefixes[ns]; this.prefixNamespaces[p] = ns; } } @@ -6134,7 +6134,7 @@ Jsonix.Context = Jsonix Jsonix.Schema.XSD.UnsignedLong.INSTANCE, Jsonix.Schema.XSD.UnsignedShort.INSTANCE ], CLASS_NAME : 'Jsonix.Context' - }); + }); // Complete Jsonix script is included above return { Jsonix: Jsonix }; }; @@ -6170,4 +6170,4 @@ else { // Just call the factory and set Jsonix as global. var Jsonix = _jsonix_factory().Jsonix; -} +}