Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ChangeLog « Mono.Xml.Schema « System.XML « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a7074156a40dddb2dce937341bbcbda667a188e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
2006-01-11  Atsushi Enomoto <atsushi@ximian.com>

	* XmlSchemaValidatingReader.cs : removed unused constructors.
	  Now it implements IXmlSchemaInfo. Use XmlSchemaType instead of
	  Object to represent schema types.

2006-01-06  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs :
	  Don't use normalized string as input to AssessStringValid(). It 
	  incorrectly invalidates strings against simple types with length-
	  related facets.
	  Now that we don't ignore whitespaces, we need to explicitly allow
	  pure whitespace texts in ElementOnly/Empty model.

2005-12-26  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Fixed the bug that only the last schema
	  URL in a schemaLocation was processed. Patch by Vorobiev Maksim.

2005-12-12  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : it is not IXmlNamespaceResolver anymore.

2005-11-07  Atsushi Enomoto <atsushi@ximian.com>

	* XmlSchemaValidatingReader.cs : XmlSchemaValidationFlags is updated.

2005-11-07  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs, XmlSchemaValidatingReader.cs,
	  XsdIdentityState.cs :
	  Dependent changes caused by XmlValueGetter changes.

2005-11-07  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : XmlReader.ReadTypedValue() does not exist 
	  anymore, so it is not override.

2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs: make ParserContext and its NamespaceManager
	  optional. This is for NVDL xsd support.

2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs: allow validation for such XmlReader whose
	  ReadState is Interactive (hold different "is started" flag). This
	  is a fix for nvdl support.

2005-09-25  Atsushi Enomoto <atsushi@ximian.com>

	* XmlSchemaValidatingReader.cs: XmlSchemaValidationFlags updates.

2005-08-03  Gert Driesen <drieseng@users.sourceforge.net>

	* XsdValidationReader.cs: GetNamespacesInScope returns generic
	IDictionary in .NET 2.0 Beta 2.
	* XmlSchemaValidatingReader.cs: GetNamespacesInScope returns generic
	IDictionary in .NET 2.0 Beta 2.

2005-07-28  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : when xsi:schemaLocation could not be
	  resolved, it still does not raise error when corresponding schema
	  already exists.

2005-05-05  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs :
	  removed atomicName related 2.0 members (deprecated in beta2).

2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : removed unused method which was warned.

2004-12-22  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.

2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : added ActualSchemaType to context type.
	* XmlSchemaValidatingReader.cs : added SchemaInfo override.

2004-12-16  Atsushi Enomoto <atsushi@ximian.com>

	* XsdParticleValidationState.cs :
	  Removed some unused or unnecessary members. Readonlify some members.
	  Added GetExpectedParticles(ArrayList) and overriden in all state
	  types, which is used in XmlSchemaValidator.GetExpectedParticles().

2004-12-15  Atsushi Enomoto <atsushi@ximian.com>

	* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
	  XmlSchemaValidator.ValidateElement().
	  Removed some obsolete overrides.

2004-12-14  Atsushi Enomoto <atsushi@ximian.com>

	* XmlSchemaValidatingReader.cs : new file; another XmlReader 
	  implementation that handles XSD validation. It is an reference
	  application for XmlSchemaValidator.
	* XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.

2004-12-14  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityState.cs : use validation exception for 2.0.
	  ProcessMatch() does not have to return bool. Use break and continue
	  and reduced indentation.
	* XsdValidatingReader.cs : use validation exception for 2.0.
	  Added new XsdIDManager class and id handling is delegated to it.
	  XmlQualifiedName -> QName. AssessElementLocallyValidElement() does
	  not need XmlSchemaElement (it is context). Moved some static
	  methods to XmlSchemaUtil.cs. Collected key constraints stuff to a
	  region.

2004-12-13  Atsushi Enomoto <atsushi@ximian.com>

	* XsdKeyTable.cs : eliminated XmlReader dependency.
	* XsdValidatingReader.cs :
	  AssertIdentityConstraints() is now splited to selector validation
	  and field validation. Extracted EndKeyrefValidation() to process
	  keyref constraints.
	  Added ReadExternalSchema() and commonized xsi:schemaLocation
	  handling and xsi:noNamespaceSchemaLocation handling.
	* XsdIdentityState.cs :
	  Eliminated XsdValidatingReader dependency.
	  In XsdKeyEntryField, renamed KeySequence to OwnerSequence.
	  XsdKeyEntryFieldCollection is now based on CollectionBase.
	  In XsdKeyEntry, FieldMatches() is renamed to ProcessMatch() and
	  modified to accept splited XsdValidatingReader members.
	* XsdIdentityPath.cs : added default .ctor() and IsAttribute property.

2004-12-13  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityState.cs,
	  XsdIdentityPath.cs,
	  XsdKeyTable.cs : fixed mixed line ending.

2004-12-11  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs,
	  XsdIdentityState.cs : more refactoring.
	  Reduced XmlReader dependency in identity constraint classes.
	  Hide State in XsdValidationContext.
	  Simplify character validation and state resetting.
	  Need more event deligation on ExamineAdditionalSchema().
	  Just cache attribute type directly instead of QName.
	  Use XmlSchemaUtil.ReadTypedValue() common code.

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdKeyTable.cs :
	  Replaced ArrayList with new XsdKeyEntryCollection type.
	  Workarounded bug #70419.
	* XsdValidatingReader.cs : propagate validation event handler and
	  XmlResolver. And used them.
	  Renamed local variables a bit (unified to other blocks).

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs,
	  XsdParticleValidationState.cs : Fixed the previous problem ==
	  inconsistent start assessment and end assessment.
	  More refactory: stateManager is just renamed to state, and its type
	  name is now XsdParticleStateManager.
	  Now Context is included in state.
	  Shortened lengthy xsd related type names with usingdecl.

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : mhm, something is wrong with call to
	  context.PopScope(). So quick fix and marked as FIXME.

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdParticleValidationState.cs : removed unused enum.
	* XsdValidatingReader.cs : more refactoring. Validation process is
	  now strictly done only when not skipping (no side effect).
	  - elementQnameStack is used only in keyref resolution, so just moved
	    Pop() into EndElement block and thus removed popContext.
	  - Renamed currentQName to attrQName (only used for attribute).
	  - Create defaultAttributes array only when required.
	  So now XsdValidationContext has only Element, State and XsiType.
	  - It now just holds Stack for state objects (instead of Hashtable).
	    Child state is set inside StartElementSchemaValidity (it is kind
	    of StartTagCloseDeriv()).
	  - Removed Clear().

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : more refactoring on XsdValidationContext.
	  context.Load() was unnecessary. SchemaType is not necessary.
	  SiblingState and Element are now not accessed externally.

2004-12-09  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : more refactoring.

2004-12-08  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : making smarter relationship between
	  XmlValidatingReader. Added ValidationEventHandler and ValidationType.
	  nonDefaultAttributeCount was extraneous.
	  Added 'checkIdentity' (i.e. !IgnoreIdentityConstraints).
	  DefaultAttributesCache property did make little sense, so just
	  reverted to ArrayList field.

2004-11-26  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : warning elimination

2004-11-24  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : commented out some fields and depending
	  code that are currently not used.
	  Fixed "one incorrect missing component handling" in the last commit
	  (it was correct).
	* XsdIdentityState.cs : removed unused fields and local variables.

2004-11-20  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : quick fix for bug #69620. In some cases
	  SchemaSet looks not compiled.
	  Fixed one incorrect missing component handling.

2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : reuse NameTable on loading external schema.

2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : optimized some ArrayList fields; create them
	  only when required.

2004-08-20  Atsushi Enomoto  <atsushi@ximian.com>

	* XsdValidatingReader.cs : ReadTypedValue() is override under 2_0.

2004-08-10  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : replaced XmlSchemaCollection with
	  XmlSchemaSet. Removed unused code.

2004-08-03  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : implemented 2.0 IXmlNamespaceResolver.

2004-06-18  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityPath.cs : removed unused code.
	* XsdIdentityState.cs : Globalization.

2004-06-11  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Identity check didn't work fine when
	  reference node appeared in front of the target key node.
	  This fixes bug #59889.

2004-06-06  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Close XmlTextReader more strictly. Exception
	  might be thrown in ctor() *after* stream open and before try-catch.

2004-06-03  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : XmlNamespaceManager.LookupPrefix() allows
	  only atomized names.

2004-02-16  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityPath.cs,
	  XsdIdentityState.cs,
	  XsdKeyTable.cs,
	  XsdParticleValidationState.cs,
	  XsdValidatingReader.cs,
	  XsdWildcard.cs : made classes internal. Removed extra TODO comments.

2004-02-08  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityState.cs,
	  XsdKeyTable.cs,
	  XsdParticleValidationState.cs,
	  XsdValidatingReader.cs,
	  XsdWildcard.cs : foreach elimination.

2004-02-04  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : When the reader points at XmlDeclaration,
	  AttributeCount counts its values (version, encoding, standalone).

2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : schemaLocation is not NMTOKENS. It is list
	  of anyURI. Just split names and handle as anyURI.

2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

	* XsdParticleValidationState.cs :
	  - Now it uses ContentTypeParticle as inputs, so no GroupRef 
	    should occur anymore.
	  - xs:any should use ResolvedProcessContents. It fixes some errors.
	* XsdValidatingReader.cs :
	  - Attribute wildcard validation should use ResolvedProcessContents.
	  - Use newly added XmlResolver field to resolve external schemas
	    specified by xsi:schemaLocation attributes.
	  - Added warning handler and raise warning events when instance-
	    specified schemas could not be resolved.
	  - xs:anyType should not be treated as a primitive datatype at
	    xsi:type resolution.
	  - Schema type was incorrectly remained when the element is laxly
	    validated.

2004-01-21  Atsushi Enomoto <atsushi@ximian.com>

	* XsdKeyTable.cs : Matching evaluation is incorrect when path is more
	  than depth 2.
	* XsdValidatingReader.cs : Should clear LocalTypeDefinition when no
	  xsi:type was specified.  
	  Moved character validation inside AssessEndElementSchemaValidity().

2004-01-20  Atsushi Enomoto <atsushi@ximian.com>

	* XsdParticleValidationState.cs : Use ValidatedMaxOccurs instead of
	  MaxOccurs. (in the meantime)
	* XsdValidatingReader.cs : "fixed" should not be treated as default.
	* XsdWildcard.cs : several Wildcard Subset constraint related fixes.

2004-01-15  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Now use ValidatableParticle instead of
	  ContentTypeParticle.  Use BaseXmlSchemaType.

2004-01-14  Atsushi Enomoto <atsushi@ximian.com>

	* XsdIdentityState.cs :
	  Now takes xsi:nil value into consideration for comparison.
	  nsname:* was not handled correctly.
	  Reject complexType as key value type (it is dynamic instance error).
	* XsdKeyTable.cs : remoed unused code.
	* XsdValidatingReader.cs :
	  ID comparison was not done.
	  {final} value of attribute definition was not used for default value.
	  Get xsi:nil value from non-default value.

2004-01-13  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs :
	  Dependent change with XmlSchemaElement internal property.

2004-01-13  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Throw exception only in case of errors.

2004-01-08  Lluis Sanchez Gual  <lluis@ximian.com>

	* XsdValidatingReader.cs: In MoveToAttribute(name), if "name" is a default
	attribute, search for the attribute ignoring the namespace. This matches
	MS.NET behavior (and fixes bug #52557).

2004-01-08  Atsushi Enomoto <atsushi@ximian.com>

	* XsdValidatingReader.cs : Fixed in reflection to 
	  XmlSchemaObjectTableGetEnumerator.Value change.

2004-01-08  Nick Drochak <ndrochak@ieee.org>

	* XsdParticleValidationState.cs: Remove unreachable code.

2003-12-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs : When source Reader has schema context, it
	  should return source's schema type if this class cannot provide it.

2003-12-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs : patch by David Sheldon. Base type's facet 
	  validation should also be done.

2003-12-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs : FindElement() should use argument names
	  (patch by David Sheldon).  Warning elimination.

2003-10-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs : xsi:type should be normalized. More cleanup.
	* XsdParticleValidationState.cs : Reverted default content processing
	  to lax. It is msxsdtest/wildCard/wildG038.xsd which looks incorrect.

2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs : Removed MonoTODO which was implemented in
	  XmlValidatingreader as a result. Added xsi:nil normalization.

2003-10-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdParticleValidationState.cs : Default content processing shoule be
	  lax.
	* XsdValidatingReader.cs : If there is no trial to get schemas for
	  namespaces, then validation against such namespace should be failed.
	  It now uses XmlSchemaAttribute.ValidatedUse instead of .Use.
	* XsdWildcard.cs : Fixed incorrect intersection computing.

2003-10-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdKeyTable.cs : Reduced compilation warning.
	* XsdParticleValidationState.cs : Reduced NotImplementedException.
	* XsdValidatingReader.cs : Removed XmlResolver. Implemented more simple
	  type validation, such as list, union and facets.

2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* added XsdIdentityPath.cs, XsdIdentityState.cs, XsdKeyTable.cs
	  and XsdWildcard.cs.
	* XsdParticleValidationState.cs, XsdValidatingReader.cs:
	  Completely rewrote existing validation engine.

2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* XsdValidatingReader.cs,
	  XsdParticleValidationState.cs : Initial checkin.