168 references to XmlTokenizedType
dotnet-svcutil-lib (168)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
673
if (attdef.Datatype.TokenizedType ==
XmlTokenizedType
.ID)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (25)
148
internal new static DatatypeImplementation FromXmlTokenizedType(
XmlTokenizedType
token)
153
internal new static DatatypeImplementation FromXmlTokenizedTypeXsd(
XmlTokenizedType
token)
490
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None; } }
1024
public override
XmlTokenizedType
TokenizedType { get { return _itemType.TokenizedType; } }
1390
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.None; } }
1468
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.CDATA; } }
2735
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName; } }
2908
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NMTOKEN; } }
2991
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ID; } }
3007
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.IDREF; } }
3023
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENTITY; } }
3071
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.NOTATION; } }
3809
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.QName; } }
3843
public override
XmlTokenizedType
TokenizedType { get { return
XmlTokenizedType
.ENUMERATION; } }
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (34)
29
CDATA =
XmlTokenizedType
.CDATA, // == 0
30
ID =
XmlTokenizedType
.ID, // == 1
31
IDREF =
XmlTokenizedType
.IDREF, // == 2
32
IDREFS =
XmlTokenizedType
.IDREFS, // == 3
33
ENTITY =
XmlTokenizedType
.ENTITY, // == 4
34
ENTITIES =
XmlTokenizedType
.ENTITIES, // == 5
35
NMTOKEN =
XmlTokenizedType
.NMTOKEN, // == 6
36
NMTOKENS =
XmlTokenizedType
.NMTOKENS, // == 7
37
NOTATION =
XmlTokenizedType
.NOTATION, // == 8
217
Debug.Assert((int)Token.CDATA == (int)
XmlTokenizedType
.CDATA && (int)
XmlTokenizedType
.CDATA == 0);
218
Debug.Assert((int)Token.ID == (int)
XmlTokenizedType
.ID && (int)
XmlTokenizedType
.ID == 1);
219
Debug.Assert((int)Token.IDREF == (int)
XmlTokenizedType
.IDREF && (int)
XmlTokenizedType
.IDREF == 2);
220
Debug.Assert((int)Token.IDREFS == (int)
XmlTokenizedType
.IDREFS && (int)
XmlTokenizedType
.IDREFS == 3);
221
Debug.Assert((int)Token.ENTITY == (int)
XmlTokenizedType
.ENTITY && (int)
XmlTokenizedType
.ENTITY == 4);
222
Debug.Assert((int)Token.ENTITIES == (int)
XmlTokenizedType
.ENTITIES && (int)
XmlTokenizedType
.ENTITIES == 5);
223
Debug.Assert((int)Token.NMTOKEN == (int)
XmlTokenizedType
.NMTOKEN && (int)
XmlTokenizedType
.NMTOKEN == 6);
224
Debug.Assert((int)Token.NMTOKENS == (int)
XmlTokenizedType
.NMTOKENS && (int)
XmlTokenizedType
.NMTOKENS == 7);
225
Debug.Assert((int)Token.NOTATION == (int)
XmlTokenizedType
.NOTATION && (int)
XmlTokenizedType
.NOTATION == 8);
697
if (attrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
737
if (attrDef.TokenizedType !=
XmlTokenizedType
.ENUMERATION)
775
attrDef.TokenizedType = (
XmlTokenizedType
)(int)token;
786
if ((idAttrDef == null || idAttrDef.Datatype.TokenizedType !=
XmlTokenizedType
.ID) && !ignoreErrors)
855
attrDef.TokenizedType =
XmlTokenizedType
.ENUMERATION;
916
if (_validate && attrDef.Datatype.TokenizedType ==
XmlTokenizedType
.ID && !ignoreErrors)
921
if (attrDef.TokenizedType !=
XmlTokenizedType
.CDATA)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (14)
298
XmlTokenizedType
ttype,
304
case
XmlTokenizedType
.ID:
317
case
XmlTokenizedType
.IDREF:
328
case
XmlTokenizedType
.ENTITY:
349
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
357
XmlTokenizedType
ttype = dtype.TokenizedType;
358
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
377
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION)
540
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
583
XmlTokenizedType
ttype = dtype.TokenizedType;
584
if (ttype ==
XmlTokenizedType
.ENTITY)
599
else if (ttype ==
XmlTokenizedType
.ENUMERATION)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (3)
83
get { return this.TokenizedType !=
XmlTokenizedType
.CDATA; }
156
internal
XmlTokenizedType
TokenizedType
196
if (datatype.TokenizedType ==
XmlTokenizedType
.ENUMERATION &&
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
748
if (datatype != null && datatype.TokenizedType ==
XmlTokenizedType
.ID)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaDeclBase.cs (2)
130
return (datatype.TokenizedType !=
XmlTokenizedType
.NOTATION && datatype.TokenizedType !=
XmlTokenizedType
.ENUMERATION) || values.Contains(pVal.ToString());
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
100
if (attDef.TokenizedType ==
XmlTokenizedType
.ID)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (49)
182
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, XdrBuildFunction build)
189
internal XdrAttributeEntry(SchemaNames.Token a,
XmlTokenizedType
ttype, int schemaFlags, XdrBuildFunction build)
249
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildRoot_Name) ),
250
new XdrAttributeEntry(SchemaNames.Token.SchemaId,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildRoot_ID) )
255
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElementType_Name) ),
256
new XdrAttributeEntry(SchemaNames.Token.SchemaContent,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Content) ),
257
new XdrAttributeEntry(SchemaNames.Token.SchemaModel,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Model) ),
258
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildElementType_Order) ),
259
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
260
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
261
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
262
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
267
new XdrAttributeEntry(SchemaNames.Token.SchemaName,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Name) ),
268
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_Required) ),
269
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_Default) ),
270
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
271
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
272
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
273
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
278
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, SchemaFlagsNs, new XdrBuildFunction(XDR_BuildElement_Type) ),
279
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MinOccurs) ),
280
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElement_MaxOccurs) )
285
new XdrAttributeEntry(SchemaNames.Token.SchemaType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Type) ),
286
new XdrAttributeEntry(SchemaNames.Token.SchemaRequired,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttribute_Required) ),
287
new XdrAttributeEntry(SchemaNames.Token.SchemaDefault,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttribute_Default) )
292
new XdrAttributeEntry(SchemaNames.Token.SchemaOrder,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildGroup_Order) ),
293
new XdrAttributeEntry(SchemaNames.Token.SchemaMinOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MinOccurs) ),
294
new XdrAttributeEntry(SchemaNames.Token.SchemaMaxOccurs,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildGroup_MaxOccurs) )
299
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtType) ),
300
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildElementType_DtValues) ),
301
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMaxLength) ),
302
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildElementType_DtMinLength) )
307
new XdrAttributeEntry(SchemaNames.Token.SchemaDtType,
XmlTokenizedType
.QName, new XdrBuildFunction(XDR_BuildAttributeType_DtType) ),
308
new XdrAttributeEntry(SchemaNames.Token.SchemaDtValues,
XmlTokenizedType
.NMTOKENS, new XdrBuildFunction(XDR_BuildAttributeType_DtValues) ),
309
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMaxLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMaxLength) ),
310
new XdrAttributeEntry(SchemaNames.Token.SchemaDtMinLength,
XmlTokenizedType
.CDATA, new XdrBuildFunction(XDR_BuildAttributeType_DtMinLength) )
460
if (a._Datatype.TokenizedType ==
XmlTokenizedType
.QName)
983
XmlTokenizedType
ttype = ed.Datatype.TokenizedType;
984
if (ttype ==
XmlTokenizedType
.ENUMERATION &&
990
if (ttype !=
XmlTokenizedType
.ENUMERATION &&
1117
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
1119
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired)
1125
if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired)
1132
if (builder._AttributeDef._Default != null && ttype ==
XmlTokenizedType
.ID)
1140
builder._AttributeDef._AttDef.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
1476
XmlTokenizedType
ttype = builder._AttributeDef._AttDef.Datatype.TokenizedType;
1478
if (ttype ==
XmlTokenizedType
.ENUMERATION && !builder._AttributeDef._EnumerationRequired)
1482
else if (ttype !=
XmlTokenizedType
.ENUMERATION && builder._AttributeDef._EnumerationRequired)
1778
else if (dtype.TokenizedType ==
XmlTokenizedType
.ID)
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (14)
410
XmlTokenizedType
ttype,
416
case
XmlTokenizedType
.ID:
426
case
XmlTokenizedType
.IDREF:
433
case
XmlTokenizedType
.ENTITY:
470
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
483
XmlTokenizedType
ttype = dtype.TokenizedType;
484
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
518
if (dtype.TokenizedType ==
XmlTokenizedType
.NOTATION)
573
if (dtype.TokenizedType !=
XmlTokenizedType
.CDATA)
584
XmlTokenizedType
ttype = dtype.TokenizedType;
585
if (ttype ==
XmlTokenizedType
.ENTITY)
600
else if (ttype ==
XmlTokenizedType
.ENUMERATION)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (3)
35
public abstract
XmlTokenizedType
TokenizedType { get; }
320
internal static XmlSchemaDatatype FromXmlTokenizedType(
XmlTokenizedType
token)
325
internal static XmlSchemaDatatype FromXmlTokenizedTypeXsd(
XmlTokenizedType
token)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (10)
141
private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName);
142
private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
1910
private void ProcessTokenizedType(
XmlTokenizedType
ttype, string name, bool attrValue)
1914
case
XmlTokenizedType
.ID:
1935
case
XmlTokenizedType
.IDREF:
1945
case
XmlTokenizedType
.ENTITY:
2018
XmlTokenizedType
ttype = dtype.TokenizedType;
2019
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1515
XmlSchemaDatatype dt = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName).DeriveByList(null);
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (10)
35
private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(
XmlTokenizedType
.CDATA);
36
private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(
XmlTokenizedType
.QName);
671
XmlTokenizedType
ttype,
677
case
XmlTokenizedType
.ID:
687
case
XmlTokenizedType
.IDREF:
694
case
XmlTokenizedType
.ENTITY:
720
XmlTokenizedType
ttype = dtype.TokenizedType;
721
if (ttype ==
XmlTokenizedType
.ENTITY || ttype ==
XmlTokenizedType
.ID || ttype ==
XmlTokenizedType
.IDREF)