Commit Graph
101 Commits
Author SHA1 Message Date
Atsushi Eno af9ff658c4 2004-07-28 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : use XmlQualifiedName.Parse().

svn path=/trunk/mcs/; revision=31541
2004-07-28 09:12:16 +00:00
Atsushi Eno adb3e06e63 2004-07-23 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Added internal XdtNamespace constant. don't fill
	  schemaset compoenents here.
	* XmlSchemaAttribute.cs : Implemented AttributeSchemaType.
	* XmlSchemaElement.cs : Implemented ElementSchemaType.
	* XmlSchemaSimpleType.cs : Added predefined simple types
	* XmlSchemaType.cs : Implemented GetBuiltInSimpleType().
	* XmlSchemaDatatype.cs : Allow Xdt namespaces too (not completed;
	  quick fix for GetBuiltInSimpleType()).

svn path=/trunk/mcs/; revision=31415
2004-07-23 16:07:03 +00:00
Atsushi Eno 6c7ace253c 2004-07-21 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : updated including answer excerpts from MS team.
	* BUGS.txt : it turned out that some bugs I wrote as "MS bugs" are
	  actually my bug. Noted them.
	* BuiltInDatatype.cs :
	  Commented out extraneous [CLSCompliant].
	  Switch ParseValue() argument as IXmlNamespaceResolver for 2.0, and
	  XmlNamespaceManager for 1.x.
	  Added TypeCode overrides.
	* XmlSchemaDatatype.cs : Added 2.0 members.
	  Switch IXmlNamespaceResolver and XmlNamespaceManager.
	* XmlSchemaType.cs : Added some NET_2_0 members. removed old 1.2 stuff.

svn path=/trunk/mcs/; revision=31335
2004-07-21 14:52:25 +00:00
Atsushi Eno c396b3e156 2004-07-13 Atsushi Enomoto <[email protected]>
* XmlSchemaBuiltInType.cs, XmlSchemaValidity.cs, XmlTypeCode.cs
	  : fixed annoying enum errors.
	* XmlSchemaCollection.cs : completely delegate to XmlSchemaSet.
	* XmlSchemaSet.cs : sealed classes. Use ListDictionary (avoid annoying
	  order preservation matter). NameTable null check for .ctor().
	  Fill GlobalAttributes, GlobalElements, GlobalTypes correctly.
	  Add(string, XmlReader) checks namespace conflicts, while
	  Add(XmlSchema) does not. Fixed Schemas() return type.

svn path=/trunk/mcs/; revision=31079
2004-07-13 13:42:32 +00:00
Atsushi Eno 2cd43b9ee7 2004-07-11 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatypeVariety.cs : Fixed class name typo.
	* XmlValueConverter.cs : fixed return types.

svn path=/trunk/mcs/; revision=30991
2004-07-11 03:02:56 +00:00
Atsushi Eno 4cf0759319 2004-06-18 Atsushi Enomoto <[email protected]>
* CustomSerializer.cs, XmlSchemaException.cs,
	  XmlSchemaParticle.cs, XmlSchemaSimpleTypeRestriction.cs
	  : Globalization.

svn path=/trunk/mcs/; revision=29827
2004-06-18 01:25:07 +00:00
Atsushi Eno 1262953080 2004-06-10 Atsushi Enomoto <[email protected]>
* XmlSchemaFacet.cs : Fixed internal protected --> internal.

svn path=/trunk/mcs/; revision=29158
2004-06-10 05:29:42 +00:00
Atsushi Eno adfc9a4885 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Make sure to close url-based XmlTextReader.

svn path=/trunk/mcs/; revision=28909
2004-06-06 14:48:43 +00:00
Atsushi Eno bba3fd5d13 2004-06-03 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs,
	  XmlSchemaFacet.cs,
	  XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaXPath.cs : modified some enum const to static readonly
	  (.NET 1.0 does not allow it). Use safe overload of LookupNamespace().

svn path=/trunk/mcs/; revision=28790
2004-06-03 21:03:29 +00:00
Atsushi Eno 68bc8cf585 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs : they are NET_2_0 enums.

svn path=/trunk/mcs/; revision=27896
2004-05-22 17:54:59 +00:00
Atsushi Eno 744ed5b65f 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlValueConverter.cs : missed NET_2_0.

svn path=/trunk/mcs/; revision=27889
2004-05-22 17:13:47 +00:00
Atsushi Eno 01f2cf3765 2004-05-22 Atsushi Enomoto <[email protected]>
* IXmlSchemaInfo.cs,
	  IXmlType.cs,
	  XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs,
	  XmlTypeCode.cs,
	  XmlValueConverter.cs : added.

	* XmlSchemaInfo.cs : removed (.NET 1.2).

	* XmlSchemaBuiltInType.cs,
	  XmlSchemaSet.cs : updated.

svn path=/trunk/mcs/; revision=27883
2004-05-22 16:57:46 +00:00
Atsushi Eno 1b720ab0bd 2004-05-19 Atsushi Enomoto <[email protected]>
* CustomSerializer.cs : Added custom serializer for XmlSchema, that is
	  generated by SerializationCodeGenerator and edited a bit.
	* XmlSchema.cs : Use XmlSchemaSerializationWriter.

svn path=/trunk/mcs/; revision=27680
2004-05-19 14:57:24 +00:00
Atsushi Eno a30aba7e98 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Removed FIXME. No PSVI required.
	* XmlSchemaAll.cs : Removed FIXME. It was not done.
	* XmlSchemaAttributeGroupRef.cs : Removed FIXME. It can be annotated.
	* XmlSchemaChoice.cs : not FIXME but LAMESPEC.
	* XmlSchemaSimpleTypeRestriction.cs : Added check for non
	  XmlSchemaFacet items on Compile(). Thus removed FIXME.
	* XmlSchemaUtil.cs : Fixed SplitList to handle sequential spaces.
	  Thus removed FIXME.
	* XmlSchemaObjectTable. cs: modified to use HybridDictionary (mostly
	  for avoiding iterator order difference).

svn path=/trunk/mcs/; revision=27232
2004-05-13 07:09:03 +00:00
Atsushi Eno e0cfce445b 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : Removed MonoTODO. done.

svn path=/trunk/mcs/; revision=27222
2004-05-13 05:01:01 +00:00
Atsushi Eno 848a8c8c44 2004-05-12 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : made classes/enums internal.

svn path=/trunk/mcs/; revision=27150
2004-05-12 09:12:13 +00:00
Atsushi Eno 6b9acee880 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : trivia fix

svn path=/trunk/mcs/; revision=26738
2004-05-05 04:56:09 +00:00
Atsushi Eno b13d1c2c41 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : added BUGGY_MS_COMPLIANT condition and that
	  handles ms-compatible properties.
	* XmlSchemaComplexType.cs : ditto for ContentTypeParticle of xs:anyType.
	  Make sure ContentType for xs:anyType is Mixed.
	* XmlSchemaUtil.cs : ditto for <xs:attribute use="prohibited" ..>

svn path=/trunk/mcs/; revision=26737
2004-05-05 04:44:49 +00:00
Atsushi Eno c381e2e366 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Write() handles schema namespace for xmlserializer
	  (it does not look to be handled inside xmlserializer).

svn path=/trunk/mcs/; revision=26735
2004-05-05 04:27:22 +00:00
Atsushi Eno e4ff98d731 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
	  type that has an immediate Particle (W3C specified as restriction
	  of ur-type).

svn path=/trunk/mcs/; revision=26084
2004-04-27 20:54:30 +00:00
Atsushi Eno c35e3cfe51 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs : When type was inline simple type, it is not
	  validated correctly.
	* XmlSchemaSimpleType.cs : When Content was restriction, DataType was
	  not indicating base type's Datatype correctly.

svn path=/trunk/mcs/; revision=26050
2004-04-27 10:34:28 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Atsushi Eno 628f4cd017 2004-04-06 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : optimized Normalize() not to create
	  extraneous string objects.

svn path=/trunk/mcs/; revision=25065
2004-04-05 23:20:40 +00:00
Atsushi Eno a97fb3b779 2004-03-15 Atsushi Enomoto <[email protected]>
* reverted the latest XmlSchemaUnique.cs change (MS.NET looks fine to
	  reject incorrect schemas ;-)

svn path=/trunk/mcs/; revision=24080
2004-03-15 23:02:12 +00:00
Alon Gazit 45049587af Changed Read implementation.
Currently can read "field" element before "selector" element (like MS).

svn path=/trunk/mcs/; revision=23686
2004-03-04 13:23:15 +00:00
Atsushi Eno b46e22b92a 2004-02-26 Atsushi Enomoto <[email protected]>
* XmlSchemaCollection.cs : Implemented SyncRoot and IsSynchronized
	  (as always synchronized).

svn path=/trunk/mcs/; revision=23480
2004-02-26 10:18:21 +00:00
Atsushi Eno 4755d3e031 2004-02-16 Atsushi Enomoto <[email protected]>
* XmlSchema.cs,
	  XmlSchemaAttribute.cs
	  XmlSchemaAttributeGroup.cs,
	  XmlSchemaComplexContent.cs,
	  XmlSchemaComplexType.cs,
	  XmlSchemaContent.cs,
	  XmlSchemaDatatype.cs,
	  XmlSchemaNotation.cs,
	  XmlSchemaObject.cs,
	  XmlSchemaParticle.cs : extra TODO removal. foreach elimination.
	    Moved attribute group recursion check field from XmlSchemaObject
	    to XmlSchemaAttributeGroup.
	    Fixed XmlSchemaParticle.EmptyParticle class access modifier.
	* XmlSchemaSimpleType.cs,
	  XmlSchemaSimpleTypeContent.cs,
	  XmlSchemaSimpleTypeList.cs,
	  XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaSimpleTypeUnion.cs : Removed "actualBaseSchemaType" field
	    and the owner simpleType should hold the corresponding type info.
	    Collect base type info in prior to validation.

svn path=/trunk/mcs/; revision=23143
2004-02-16 19:38:38 +00:00
Atsushi Eno 06dcbf55a3 2004-02-05 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : fixed incorrect thought on case 008. Added case 014.
	* BUGS.txt : FYI.

svn path=/trunk/mcs/; revision=22803
2004-02-05 16:23:00 +00:00
Atsushi Eno a4d7dd056a 2004-02-03 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Fixed some Parse() for token based datatypes.
	* XmlSchemaAny.cs : set properties for cloned particle. This will fix
	  bugzilla #53668.
	* XmlSchemaParticle.cs : copy occurence string after computation of
	  validated min/max occurence. This will fix bug #53667.

svn path=/trunk/mcs/; revision=22731
2004-02-03 08:09:06 +00:00
Atsushi Eno 110c7c12fd 2004-01-26 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Raise warning event when external schema could not
	  be resolved.
	* XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
	* XmlSchemaAny.cs : Fixed incorrect occurence computation.
	* XmlSchemaChoice.cs : compiledItems were incorrectly appended.
	* XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
	* XmlSchemaGroupBase.cs : Here we should not get optimized particle
	  because it might cause infinite loop.
	* XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
	  exception (only occur with ValidationEventHandler).  Fixed Occurence
	  embedding logic that was useless because of particle optimization.

svn path=/trunk/mcs/; revision=22507
2004-01-26 18:24:22 +00:00
Atsushi Eno 279ee7f9e6 2004-01-22 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
	  on Add()ing parsed name to name table.
	* XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
	* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
	  XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
	  Use the method above instead of Namespace string comparison.
	  (it will be required to validate schema for schemas.)
	* XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
	  treat null base type as anyType.  Derivation Valid Restriction
	  (3.4.6) should allow base type wildcard absense in case of anyType.

svn path=/trunk/mcs/; revision=22406
2004-01-22 16:31:31 +00:00
Atsushi Eno b8eda76bbd 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : When we have schema A which includes schema B which
	  includes schema C (i.e. A->B->C), C components should be compiled.
	  Here, same URL inclusions are ignored.
	* XmlSchemaElement.cs : Hack for missing substitution-group fix.
	* XmlSchemaSimpleTypeContent.cs : make actualBaseSchemaType private
	  and initialize. This fixes bug #53178.
	* XmlSchemaSimpleTypeUnion.cs : Forgot to commit ;)

svn path=/trunk/mcs/; revision=22389
2004-01-22 09:26:02 +00:00
Atsushi Eno 70d8738c62 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : regexp improvements. Modify
	  pattern string as "^str$" and convert WXS specific char classes into
	  .NET regexp patterns.

svn path=/trunk/mcs/; revision=22386
2004-01-22 07:52:08 +00:00
Atsushi Eno ccd5f38514 2004-01-21 Atsushi Enomoto <[email protected]>
* XmlSchema.cs :
	  - Removed extra property Language.  Fill substitution-group info
	    before ContentTypeParticle is computed.
	* XmlSchemaComplexType.cs : ContentType and ContentTypeParticle are
	  now computer before Validate() (to exclude 3.4.2 from 3.4.6
	  component constraint check).
	* XmlSchemaObject.cs, XmlSchemaParticle.cs :
	  Added CopyInfo() for cloning objects.
	* XmlSchemaObjectTable.cs :
	  Add() doesn't have to reject same named items.
	* XmlSchemaParticle.cs :
	  - Renamed internal class XmlSchemaParticleEmpty to EmptyParticle
	    (for ease of post compilation infoset comparison).
	  - GetMinEffectiveTotalRange() should return max occurs for element and
	    any.
	* XmlSchemaParticle.cs,
	  XmlSchemaAll.cs,
	  XmlSchemaAny.cs,
	  XmlSchemaChoice.cs,
	  XmlSchemaElement.cs,
	  XmlSchemaGroupBase.cs,
	  XmlSchemaGroupRef.cs,
	  XmlSchemaSequence.cs :
	  - Removed ActualParticle property.
	  - Added GetOptimizedParticle() to get ContentTypeParticle.
	  - ContentTypeParticle is now created as different object from
	    user-specified "Particle" property.
	  - Return Empty particle when model groups contains no Items.
	  - When Items contains exactly 1 item, return the item (unless it is
	    top level choice model group - it causes DBR problem).
	  - ValidateDerivationValidRestriction() and related WXS 3.9.6 DBR
	    check methods such as ValidateNSRecurseCheckCardinality() now
	    returns a bool value and avoids exceptions on each failure time.
	  - ValidateRecurse() now doesn't progress base particle incorrectly.
	    (it caused incorrect order-preserving-mapping error.)
	  - 3.9.6 Recurse, RecurseLax, MapAndSum are now treated as different.
	* XmlSchemaAll.cs : occurence validation shoud be done against values
	  after computation (ValidatedMaxOccurs).
	* XmlSchemaChoice.cs : When Items is empty, then invoke warning event.
	* XmlSchemaElement.cs :
	  - Consider referencedElement also for SubstitutionGroupElement.
	  - Removed SubstitutingChoice which is not in use.
	  - when it was targeted as substitution group by other elements, its
	    ContentTypeParticle should be substitution choice (see 3.9.6
	    Particle Valid (Restriction) term 2.1).
	  - Added FillsubstitutionElementInfo() (see XmlSchema.cs above).
	* XmlSchemaGroup.cs : Removed extra check on model group (because it
	  is impossible to specify non-model-group particle).
	* XmlSchemaIdentityConstraint.cs,
	  XmlSchemaKey.cs,
	  XmlSchemaKeyRef.cs,
	  XmlSchemaUnique.cs : Removed extraneous MonoTODO.
	* XmlSchemaSimpleContent.cs : Made actualSchemaType as internal.
	* XmlSchemaSimpleType.cs : Removed extraneous new Datatype property.
	* XmlSchemaSimpleTypeRestriction.cs : Renamed actualBaseSchemaType to
	  ActualBaseSchemaType.
	* XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
	  Removed unused actualBaseSchemaType code.
	* XmlSchemaType.cs : use recently introduced BaseXmlSchemaType.
	* XmlSchemaUtil.cs : Removed unused CheckLanguage().

svn path=/trunk/mcs/; revision=22323
2004-01-21 08:06:51 +00:00
Atsushi Eno 65e898a786 2004-01-21 Atsushi Enomoto <[email protected]>
* XmlSchemaXPath.cs : wildcard with prefix (e.g. @foo:*) was
	  incorrectly treated.

svn path=/trunk/mcs/; revision=22320
2004-01-21 04:52:34 +00:00
Atsushi Eno ff34df6059 2004-01-20 Atsushi Enomoto <[email protected]>
* SchemaDataValueType.cs : UriValueType.ToString() should return
	  actual URI string (as MS's XmlSchemaUri class does).
	* XmlSchemaReader.cs : Make it internal.

svn path=/trunk/mcs/; revision=22288
2004-01-20 07:41:39 +00:00
David Sheldon e1e3df901a 2004-01-16 David Sheldon <[email protected]>
* BuiltInDatatype.cs: added guard to stop index out of range error for
         invalid Base64 characters.

svn path=/trunk/mcs/; revision=22152
2004-01-16 08:39:15 +00:00
Jackson Harper cdce8c8943 * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
build).

svn path=/trunk/mcs/; revision=22124
2004-01-15 19:54:09 +00:00
Atsushi Eno 7fec452d6a 2004-01-15 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexContentExtension.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs,
	  XmlSchemaContent.cs : Added IsExtension. GetXXX() became nonvirtual.
	* XmlSchemaType.cs :
	  - Added NET_1_2 BaseXmlSchemaType (other members are commented out).
	  - Now BaseSchemaType redirects to new property BaseXmlSchemaType.
	* XmlSchemaComplexType.cs :
	  - Now it fully uses BaseXmlSchemaType above.
	  - Since ValidateXXX() became too huge, I divided them into
	    CollectXXX() [spec 3.4.1] and ValidateXXX() [spec 3.4.3 / 3.4.6].
	    Schema Components are contributed before constraint check.
	  - Now ContentTypeParticle is distinguished from validating particle
	    which is newly introduced as "ValidatableParticle" (only used in
	    XsdValidatingReader).
	* XmlSchemaSimpleType.cs : Now it uses BaseXmlSchemaType.
	  capitalized internal members a bit.

svn path=/trunk/mcs/; revision=22108
2004-01-15 11:22:00 +00:00
David Sheldon e99c98d99d 2004-01-14 David Sheldon <[email protected]>
* XmlSchemaSimpleTypeRestriction: Convert pattern facets to be ORed,
          as per: http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns
          Fixes bug 52841

svn path=/trunk/mcs/; revision=22078
2004-01-14 23:29:02 +00:00
David Sheldon bba8c02eac Improved handling of length facets on non-standard data types. Fixed bug
52840.

2004-01-14  David Sheldon <[email protected]>

  * BuiltInDatatype.cs:
	   XsdAnySimpleType - Added Length that returns the string length.
	   XsdBase64Binary - Added Length, and used more direct, less fussy,
	       Base64 decoder.
	   XsdHexBinary - Added Length method

	* XmlSchemaSimpleTypeRestriction: use DataType Length method to
	  determine length to compare against. Stop testing Lenght facets on
	  QName and Notation types (as per errata)

svn path=/trunk/mcs/; revision=22077
2004-01-14 23:22:46 +00:00
Atsushi Eno 5a6b46aac3 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : forgot to commit ;)
	* XmlSchemaUtil.cs : Fixed IsSchemaDatatypeEquals() to return false
	  for comparison between ID and IDREF.

svn path=/trunk/mcs/; revision=22060
2004-01-14 15:42:15 +00:00
Atsushi Eno d7ef514f4f 2004-01-14 Atsushi Enomoto <[email protected]>
* Added SchemaDataValueType.cs.
	* BuiltInDatatype.cs, XmlSchemaDatatype.cs : Adde ParseValueType() on
	  all derived datatype classes.
	* XmlSchemaComplexType.cs : Fixed ContentType value for simple types.
	  Errata-considered simple content derivation check and simple content
	  restriction should check this too.

svn path=/trunk/mcs/; revision=22050
2004-01-14 07:19:20 +00:00
Jackson Harper af1698145a * XmlSchemaComplexType.cs: Comment out line that was breaking
the build.

svn path=/trunk/mcs/; revision=22029
2004-01-13 19:52:22 +00:00
Atsushi Eno d6ba3804b6 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeUnion.cs : The same reason as the previous patch.
	* XmlSchemaComplexType.cs : Now it handles ContentTypeParticle and
	  ContentType much more presise than before.
	* XmlSchemaElement.cs :
	  Simplified property handling for reference element.

svn path=/trunk/mcs/; revision=22024
2004-01-13 18:22:49 +00:00
Atsushi Eno 9815687aa9 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs :
	  Invalid attribute should raise an error, not a warning.

svn path=/trunk/mcs/; revision=22014
2004-01-13 10:27:20 +00:00
Atsushi Eno 69cb50914e 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchemaObject.cs : Fixed error() not to set severity as Warning.
	* ValidationHandler.cs,
	  XmlSchemaSet.cs,
	  XmlSchemaCollection.cs : Throw exception only in case of errors.
	* XmlSchemaCollection.cs : Remove schema from schemaset if exist.
	  (It might not be good to use schemaset, but keep for a while)
	* XmlSchemaContent.cs,
	  XmlSchemaComplexContentExtension.cs,
	  XmlSchemaComplexContentRestriction.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs,
	  : added GetBaseTypeName() and GetParticle() (not used yet).

svn path=/trunk/mcs/; revision=22013
2004-01-13 09:32:18 +00:00
Atsushi Eno c0278b2f1d 2004-01-11 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : internal type should not appear in protected
	  members' signature.

svn path=/trunk/mcs/; revision=21945
2004-01-11 15:33:25 +00:00
David Sheldon 0ebca37f5d Added more checking of restriction facets.
2004-01-11  David Sheldon <[email protected]>

  * BuiltInDatatype.cs : Added XsdOrdering enum, and Compare methods
   to the data-types. Changed AllowedFacets to be a bitfield.

  * XmlSchemaFacet.cs : Added Facet enumeration to represent bitfield.

  * XmlSchemaEnumerationFacet.cs,
    XmlSchemaFractionDigitsFacet.cs,
    XmlSchemaLengthFacet.cs,
    XmlSchemaMaxExclusiveFacet.cs,
    XmlSchemaMaxInclusiveFacet.cs,
    XmlSchemaMaxLengthFacet.cs,
    XmlSchemaMinExclusiveFacet.cs,
    XmlSchemaMinInclusiveFacet.cs,
    XmlSchemaMinLengthFacet.cs,
    XmlSchemaNumericFacet.cs,
    XmlSchemaPatternFacet.cs,
    XmlSchemaTotalDigitsFacet.cs,
    XmlSchemaWhiteSpaceFacet.cs : Added ThisFacet Property to return facet type


  * XmlSchemaSimpleTypeRestriction.cs: Inherited facets from base types,
    checked which which were allowed on different types. Validated fixed
    facets, duplicated facets and derivation by restriction. Added checking
    for min/max Inclusive/Exclusive, totalDigits and fractionDigits facets in
    validation.

svn path=/trunk/mcs/; revision=21934
2004-01-11 09:46:37 +00:00
Atsushi Eno 1750f2ade3 2004-01-08 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : added list derivation and facet case.
	* XmlSchemaComplexType.cs :
	  Added some description.  Avoided null reference exception in
	  some places.
	  Fixed incorrect 3.4.6 Derivation Valid (Extension) 1.4.1.2.2 and
	  3.9.6 Particle Valid (Extension) 2.
	* XmlSchemaGroupBase.cs : Fixed ParticleEquals() which didn't work
	  properly against sequence and all.

svn path=/trunk/mcs/; revision=21842
2004-01-08 07:53:49 +00:00