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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-03Remove old System.Xml sources. bye bye.Atsushi Eno
2007-08-022007-08-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaComplexType.cs, XmlSchemaComplexContentRestriction.cs : in Validate(), every descendant item in complexType must be first validated before getting GetOptimizedParticle(), or it could result in wrong content particle. Fixed bug #82010. * XsdValidatingReaderTests.cs : test for bug #82010. * 82010.xsd, 82010.xml : new test files. * Makefile : extra distfiles (82010.xml/.xsd). svn path=/trunk/mcs/; revision=83272
2007-04-242007-04-24 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchema.cs XmlSchemaSimpleTypeList.cs XmlSchemaComplexContentRestriction.cs XmlSchemaGroup.cs XmlSchemaComplexContentExtension.cs XmlSchemaSequence.cs XmlSchemaSimpleContentRestriction.cs XmlSchemaSimpleContentExtension.cs XmlSchemaElement.cs XmlSchemaAll.cs XmlSchemaComplexType.cs XmlSchemaAttributeGroup.cs XmlSchemaSimpleTypeRestriction.cs XmlSchemaSimpleContent.cs XmlSchemaChoice.cs XmlSchemaSimpleType.cs XmlSchemaIdentityConstraint.cs XmlSchemaSimpleTypeUnion.cs XmlSchemaRedefine.cs XmlSchemaComplexContent.cs XmlSchemaAttribute.cs XmlSchemaObject.cs : set parent component in prior to compilation, bringing Parent to 1.x as internal. Moving toward fixing #81360. svn path=/trunk/mcs/; revision=76163
2006-11-10Now we can safely set eol-style:native.Atsushi Eno
svn path=/trunk/mcs/; revision=67665
2006-11-10This namespace is a horrible nest of mixed line endings :-(Atsushi Eno
svn path=/trunk/mcs/; revision=67664
2006-07-262006-07-26 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
Refactoring compilation to make Compile() portable to XmlSchemaSet.Compile() and fix multi-schema bugs (not done yet) * XmlSchema.cs : Removed "root schema" concept from Compile(). Since nested inclusion does not result in an error, the role of schemaLocationStack is identical to handledUris, thus removed it. The handledUris does not have to be a field. Moved NamedIdentities and IDCollections to XmlSchemaSet. Renamed a Compile() which is called from XmlSchemaCollection and XmlSchemaSet as CompileSubset(). Renamed private Compile() as DoCompile(). public Compile() now internally creates a new XmlSchemaSet and compiles the set. * XmlSchemaCollection.cs : now it hooks its schemaSet's validation event handler and thus XmlSchemaSet does not need to check this collection's event handler by itself. XmlSchema.Compile() -> XmlSchema.CompileSubset(). * XmlSchemaSet.cs : Removed SchemaCollection which became unneccessary. Added NamedIdentities and IDCollection. XmlSchema.Compile() -> XmlSchema.CompileSubset(). * XmlSchemaAttributeGroupRef.cs, XmlSchemaXPath.cs XmlSchemaSimpleTypeList.cs, XmlSchemaComplexContentRestriction.cs, XmlSchemaGroup.cs, XmlSchemaComplexContentExtension.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleContentExtension.cs, XmlSchemaAny.cs, XmlSchemaElement.cs, XmlSchemaNotation.cs, XmlSchemaAll.cs, XmlSchemaComplexType.cs, XmlSchemaAnnotation.cs, XmlSchemaAttributeGroup.cs, XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleContent.cs, XmlSchemaGroupRef.cs, XmlSchemaChoice.cs, XmlSchemaSimpleType.cs, XmlSchemaIdentityConstraint.cs, XmlSchemaSimpleTypeUnion.cs, XmlSchemaAnyAttribute.cs, XmlSchemaComplexContent.cs, XmlSchemaAttribute.cs, XmlSchemaObject.cs : removed XmlSchemaObject.IsCompiled(). Check compilation state by comparing compilation ID directly. * XmlReader.cs : For DTD validator, call to SetSchemas() makes no sense. * XmlValidatingReader.cs : now it internally holds old XmlSchemaCollection instead of new XmlSchemaSet, to make XmlSchemaSet.SchemaCollection unneccessary. Removed SetSchemas() since it is now extraneous because of the XmlReaderChange above. svn path=/trunk/mcs/; revision=62988
2005-08-07* XmlSchema.cs: XmlElementAttribute, XmlAttributeAttribute andGert Driesen
DefaultValueAttribute corrections to match MS.NET. * XmlSchemaAll.cs: * XmlSchemaAnnotated.cs: * XmlSchemaAnnotation.cs: * XmlSchemaAppInfo.cs: * XmlSchemaAttribute.cs: * XmlSchemaAttributeGroup.cs: * XmlSchemaChoice.cs: * XmlSchemaComplexContent.cs: * XmlSchemaComplexContentExtension.cs: * XmlSchemaComplexContentRestriction.cs: * XmlSchemaComplexType.cs: * XmlSchemaDocumentation.cs: * XmlSchemaElement.cs: * XmlSchemaExternal.cs: * XmlSchemaGroup.cs: * XmlSchemaIdentityConstraint.cs: * XmlSchemaImport.cs: * XmlSchemaInclude.cs: * XmlSchemaRedefine.cs: * XmlSchemaSequence.cs: * XmlSchemaSimpleContent.cs: * XmlSchemaSimpleContentExtension.cs: * XmlSchemaSimpleContentRestriction.cs: * XmlSchemaSimpleType.cs: * XmlSchemaSimpleTypeList.cs: * XmlSchemaSimpleTypeRestriction.cs: * XmlSchemaSimpleTypeUnion.cs: * XmlSchemaXPath.cs: svn path=/trunk/mcs/; revision=48074
2005-06-27remove svn:executable from .cs filesBen Maurer
svn path=/trunk/mcs/; revision=46562
2004-12-042004-12-04 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaObject.cs : added Parent. * XmlSchema.cs, XmlSchemaElement.cs, XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs, XmlSchemaGroup.cs, XmlSchemaComplexType.cs, XmlSchemaSequence.cs, XmlSchemaChoice.cs, XmlSchemaAll.cs, XmlSchemaIdentityConstraint.cs, XmlSchemaComplexContent.cs, XmlSchemaSimpleContent.cs, XmlSchemaSimpleContentExtension.cs, XmlSchemaSimpleContentRestriction.cs, XmlSchemaComplexContentExtension.cs, XmlSchemaComplexContentRestriction.cs, XmlSchemaSimpleType.cs, XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs : Fill Parent on Compilation. * XmlSchemaException.cs, XmlSchemaInferenceException.cs, XmlSchemaValidationException.cs : added SecurityPermissionAttribute. svn path=/trunk/mcs/; revision=37094
2004-06-21Add MIT license to System.XML.DLLDuncan Mak
svn path=/trunk/mcs/; revision=30055
2004-05-01constifyBen Maurer
svn path=/trunk/mcs/; revision=26464
2004-01-152004-01-15 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* 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-132004-01-13 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* 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
2003-09-302003-09-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>Atsushi Eno
* Forgot to append 8/24/2003 ChangeLog. * BUGS.txt, BUGS-MS.txt : Appended additional bug info. * BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs, XmlSchemaCollection.cs, XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs, XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs, XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs, XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs, XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs, XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs, XmlSchemaSimpleContentExtension.cs, XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs, XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs, XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs, XmlSchemaXPath.cs : - Almost all classes are changed to implement schema component constraints, and schema validation using XsdValidatingReader. - better exception messages. - More datatype support. and so on. svn path=/trunk/mcs/; revision=18444
2003-07-192003-07-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>Atsushi Eno
* XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs, XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs, XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs, XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs, XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs, XmlSchemaSimpleContentExtension.cs, XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs, XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs, XmlSchemaXPath.cs, As to Compile() and Validate(), - Added CompilationId and check it while compiling schema components. - Code refactory. Replaced literal xmlns with XmlSchema.Namespace - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema also has PSVI components inside it, so passing itself seems enough). - Related to above change, IDCollection was moved to XmlSchema, and blockDefault/finalDefault/blockResolved/finalResolved resolution was changed to reference only to schema.BlockDefault/FinalDefault. - The similar change has done against XmlSchemaForm related stuff. - Changed compilation order of schema type definitions (it is workaround). First it compiles types, and then it compiles others. * XmlSchemaElement.cs : added ElementType PSVI contribution support. svn path=/trunk/mcs/; revision=16435
2002-06-182002-06-18 Dwivedi, Ajay kumar <adwiv@yahoo.com>Ajay kumar Dwivedi
* XmlSchema: The Read and Write methods are no more [MonoTODO] :) * XmlSchemaAppInfo: Xml Markup is now being read. * XmlSchemaDocumentation: Xml Markup is now being read. * All: Unhandled attributes are being handled properly. * All: Reordered the properties in all cs files to match with MS Implementation. This was required since the order is importatnt for the XmlSerializer. svn path=/trunk/mcs/; revision=5322
2002-06-142002-06-14 Dwivedi, Ajay kumar <adwiv@yahoo.com>Ajay kumar Dwivedi
* General: Fixed a few more Bugs svn path=/trunk/mcs/; revision=5280
2002-06-102002-06-10 Dwivedi, Ajay kumar <adwiv@yahoo.com>Ajay kumar Dwivedi
* XmlSchemaReader: A Wrapper class around XmlReader with customized methods to suit reading a schema. * General: Implemented Read() method for the schema. There are only a few minor bugs remaining. svn path=/trunk/mcs/; revision=5200
2002-05-252002-05-25 Dwivedi, Ajay kumar <adwiv@yahoo.com>Ajay kumar Dwivedi
* BUGS.txt: New file to keep track of bugs * ALL: All classes are initialized exactly as in .NET except 1. inclusion of language attribute in schema 2. ComplexContent's Particle is initialized to null whereas .NET to some internal implementation. IMO Null is more appropriate * ALL: Changed the Compile methods to return the count of errors. * ALL: Complile methods are almost complete. Pass 1453 of 3061 tests. This number should shoot up if we write a parser to read the Schema instead of using reflection (which is slower too) svn path=/trunk/mcs/; revision=4926
2002-03-272002-03-27 Duncan Mak <duncan@ximian.com>Duncan Mak
* *.cs: Updates from Ajay Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>. svn path=/trunk/mcs/; revision=3383
2002-03-19Add System.Xml.Schema from AjayMiguel de Icaza
svn path=/trunk/mcs/; revision=3216