Age | Commit message (Collapse) | Author |
|
* XsdWildcard.cs : block extra compilation and made compilation reset.
This somehow fixed bug #360541.
* XmlSchemaAny.cs : block extra compilation in anyTypeContent.
* XmlSchemasTests.cs : new test file (for bug #360541).
* System.Xml_test.dll.sources: added XmlSchemasTests.cs.
svn path=/trunk/mcs/; revision=96115
|
|
* XmlSchemaValidator.cs : added couple of null argument check.
Do not depend on XmlSchemaInfo to retrieve attribute value (it
could be null).
Do not practically validate attribute when it is not in validating
state (i.e. inside xs:any). Fixed bug #358408.
* XmlSchemaValidatorTests.cs : new. Test for bug #358408.
* 358408.xsd : new test file.
* System.Xml_test.dll.sources : added XmlSchemaValidatorTests.cs.
* Makefile : extra distfiles (358408.xsd).
svn path=/trunk/mcs/; revision=94729
|
|
* System.Xml_test.dll.sources: added XmlParserContextTests.cs.
svn path=/trunk/mcs/; revision=92968
|
|
svn path=/trunk/mcs/; revision=76822
|
|
* CodeIdentifier.cs : in 2.0 profile, .ctor() is exposed to
explicitly say Obsolete instantiation.
* CodeIdentifiers.cs : implemented case-insensitive mode.
* XmlSerializerAssemblyAttribute.cs : added missing .ctor().
* SoapIncludeAttribute.cs, XmlIncludeAttribute.cs :
in 2.0 profile it could also be applied to an interface.
* SoapReflectionImporter.cs,
XmlReflectionImporter.cs,
XmlMappingAccess.cs :
added missing ImportMembersMapping overload and moved actual
implementation to most lengthy-arglist one. To make it possible,
XmlMappingAccess is included in 1.x as internal enum.
svn path=/branches/atsushi/mcs/; revision=67256
|
|
* XmlSerializerImplementationTests.cs : new testfixture.
* SchemaImporterExtensionCollectionTests.cs,
SchemaImporterExtensionTests.cs : new testfixtures.
* System.Xml_test.dll.sources : added following tests:
- XmlSerializerImplementationTests.cs
- SchemaImporterExtensionTests.cs
- SchemaImporterExtensionCollectionTests.cs
svn path=/branches/atsushi/mcs/; revision=67235
|
|
XmlSchemaCollectionTests.cs.
* XmlSchemaCollectionTests.cs: added test for bug #78220.
svn path=/trunk/mcs/; revision=59970
|
|
* XmlSerializerTestClasses.cs: Added test classes and improved existing
classes for usage in upcoming bug reports.
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
SoapAttributesTests.cs.
* SoapAttributes.cs: The DefaultValueAttribute.Value should be returned
as SoapDefaultValue instead of the attribute itself. Fixes bug #78205.
svn path=/trunk/mcs/; revision=59917
|
|
marked NotWorking).
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
XmlCodeExporterTests.cs.
svn path=/trunk/mcs/; revision=59707
|
|
* System.Xml_test.dll.sources :
Added Test/System.Xml/XmlDefaultReader.cs.
* XmlSchemaValidatingReader.cs : don't reject such XmlReader that
does not implement IXmlNamespaceResolver.
* XmlReaderSettingsTests.cs :
Added CreateValidatorFromNonIXmlNamespaceResolver() which is
uncovered by NVDL validator.
* XmlDefaultReader.cs : new file for above.
svn path=/trunk/mcs/; revision=59399
|
|
Assertion class. Added tests for FromEnum, WriteXsiType,
WriteTypedPrimitive and WritePotentiallyReferencingElement. Changed
accessibility of Reset and Content on XmlSerializationWriterTester
and added public Execute methods for WritePotentiallyReferencingElement
and WriteTypedPrimitive, to allow this class to be useful for tests
that have effect on the prefix for other tests.
* XmlSerializationReaderTests.cs: Added tests for ToEnum.
* System.Xml_test.dll.Sources: Added XmlSerializationReaderTests.cs.
* XmlSerializationWriter.cs: Implemented 2.0 version of FromEnum, and
CreateInvalidEnumValueException. Set eol-style to native.
* XmlCustomerFormatter.cs: Added FromEnum overload that takes name of
enum for which string value must be created. Set eol-style to native.
Modified FromEnum to behave more like MSFT's implementation:
- treat value as bit field.
- no longer return empty string if the value matches an id for which there's
no corresponding name.
- if one of the ids has value 0 and there's a match for the enum value
(with a zero length XML name) or the enum value is 0, then return the
corresponding XML for the id with value 0.
- in 2.0 profile, throw InvalidOperationException if no match is found
for (part of) the enum value.
Modifies ToEnum to match the MSFT implementation (as described in
.NET 2.0 SDK):
- Expect hashtable containing enum names as key, and corresponding
integral numbers as value.
- Do not report exception for whitespace-only value.
- Support space (MS docs are not clear about this) delimited list
of names.
- typeName is only used to construct exception message.
svn path=/trunk/mcs/; revision=56700
|
|
* System.Xml_test.dll.sources : added XmlSchemaTypeTests.cs.
* XmlSchemaTypeTests.cs : new file. Test for TypeCode.
* XmlSchemaSetTests.cs : added more tests for Add() and marked one as
NotWorking (we need info on how consistent this method is).
svn path=/trunk/mcs/; revision=55309
|
|
* System.Xml_test.dll.sources : XmlSchemaDatatypeTests.cs was missing.
collected sys.xml.schema lines.
* XmlSchemaDatatypeTests.cs : oops sys.col.generic is NET_2_0.
svn path=/trunk/mcs/; revision=55291
|
|
SoapReflectionImporterTests.cs, XmlSchemaImporterTests.cs.
* XmlReflectionImporterTests.cs: Added numerous tests. No longer
derive from Assertion.
* SoapReflectionImporterTests.cs: Added numerous tests.
* XmlSchemaImporterTests.cs: Added numerous tests.
* XmlSchemaExporterTests.cs: Added numerous tests.
* SoapSchemaExporterTests.cs: Added numerous tests.
svn path=/trunk/mcs/; revision=55191
|
|
* XmlSchemaExporterTests.cs: Added tests for class, IXmlSerializable
and primitives.
* System.Xml_test.dll.sources: Added XmlSchemaExporterTests.cs.
svn path=/trunk/mcs/; revision=54898
|
|
* XsltCompileExceptionTests.cs: Added tests for ctors.
* XsltExceptionTests.cs: Added tests for ctors.
* XslTransformTests.cs: Added tests for validation of <xsl:output>
attributes.
* System.Xml_test.dll.sources: Added XsltCompilerExceptionTests.cs and
XsltExceptionTests.cs.
* IXsltContextFunction.cs: Fixed line endings (all CRLF).
* IXsltContextVariable.cs: Fixed line endings (all CRLF).
* XsltContext.cs: Fixed line endings (all CRLF).
* XsltCompileException.cs: Fixed line endings (all CRLF).
Fixed message to correspond with both MS.NET 1.x and 2.0.
* XslTransform.cs: Fixed line endings (all CRLF).
* XsltArgumentList.cs: Fixed line endings (all CRLF).
* XsltException.cs: Fixed line endings (all CRLF). Fixed message to
correspond with MS.NET 1.x and 2.0.
* XslVariable.cs: Beautify error messages.
* XslElement.cs: Same.
* XslAvt.cs: Same.
* XslAttribute.cs: Same.
* XslApplyTemplates.cs: Same.
* XslTemplateContent.cs: Same.
* XslCallTemplate.cs: Same.
* XslCopy.cs: Same.
* XslChoose.cs: Same.
* ScriptCompilerInfo.cs: Fixed line endings.
* XslStylesheet.cs: Beautify error messages.
* Debug.cs: Fixed line endings.
* XslOutput.cs: Indent is now bool instead of string, use
MoveToAttribute to navigate through attributes instead of using
GetAttribute, as we also need to distinguish attributes with
zero-length value from attributes that are not specified for
correct implementation of DOCTYPE. Implemented validation for
value of "omit-xml-declaration", "standalone" and "indent".
We now throw a XsltCompileException for unknown attribute.
* XmlWriterEmitter.cs: only skip WriteDocType is systemId is null.
* HtmlEmitter.cs: XslOutput.Indent is now bool. Fixed WriteDocType
to match MS.NET.
* XmlDecimalFormat.cs: Beautify error messages.
* XslTemplate.cs: Beautify error messages.
* GenericOutputter.cs: XslOutput.Indent is now bool.
* Compiler.cs: Beautify error messages.
svn path=/trunk/mcs/; revision=54780
|
|
* XPathNavigatorReader.cs : several fixes.
- Unless ReadState is Interactive, all name stuff should return "".
- Refactored Read() to work fine when input navigator is Root.
- Fixed all MoveTo*Attribute() methods match with other XmlReaders.
- Namespace nodes were not handled fine in MoveTo*Attribute().
* XPathNavigatorReaderTests.cs : new file for testing ReadSubtree()
and all dependent members.
* System.Xml_test.dll.sources: Added XPathNavigatorReaderTests.cs.
svn path=/trunk/mcs/; revision=54364
|
|
* XPathNavigator.cs : ReplaceSelf() should allow document fragment.
Moved implementation to XPathEditableDocument.
* XPathEditableDocument.cs : implement ReplaceSelf() here.
* System.Xml_test.dll.sources: Added XmlAssert.cs.
* XmlAssert.cs : new file.
* XPathEditableNavigatorTests.cs : added tests that passes empty
string to editor methods. Added tests for ReplaceSelf().
svn path=/trunk/mcs/; revision=54278
|
|
* XPathNavigator.cs : (CreateFragmentReader) return XmlReader that
considers current namespace contexts.
* XPathEditableNavigatorTests.cs : new file for testing all editor
functionality in XPathNavigator.
* System.Xml_test.dll.sources: Added XPathEditableNavigatorTests.cs.
svn path=/trunk/mcs/; revision=54270
|
|
* Makefile: /unsafe isn't required to build System.Xml.
* System.Xml_test.dll.sources: Added new CAS unit tests.
svn path=/trunk/mcs/; revision=49180
|
|
of XmlArrayItemAttribute.IsNullable.
* SoapAttributeAttributeTests.cs: Added tests for default values.
* SoapElementAttributeTests.cs: Added tests for default values.
* SoapEnumAttributeTests.cs: Added tests for default values.
* SoapIncludeAttributeTests.cs: Added tests for default values.
* SoapSchemaMemberTests.cs: Added tests for default values.
* SoapTypeAttributeTests.cs: Added tests for default values.
* XmlAnyElementAttributeTests.cs: Added tests for default values.
* XmlArrayAttributeTests.cs: Added tests for default values.
* XmlArrayItemAttributeTests.cs: Added tests for default values.
* XmlAttributeAttributeTests.cs: Added tests for default values.
* XmlChoiceIdentifierAttributeTests.cs: Added tests for default values.
* XmlElementAttributeTests.cs: Added tests for default values.
* XmlEnumAttributeTests.cs: Added tests for default values.
* XmlIncludeAttributeTests.cs: Added tests for default values.
* XmlRootAttributeTests.cs: Added tests for default values.
* XmlTextAttributeTests.cs: Added tests for default values.
* XmlTypeAttributeTests.cs: Added tests for default values.
* System.Xml_test.dll.sources: Added tests for default values of Xml
Serialization attribute classes.
* SoapAttributeAttribute.cs: Return zero-length string if AttributeName or
DataType are null.
* SoapEnumAttribute.cs: Return zero-length string if Name is null.
* SoapIncludeAttribute.cs: Avoid using property in ctor.
* SoapSchemaMember.cs: Return zero-length string if MemberName is
null. MemberType should be XmlQualifiedName.Empty by default.
* SoapTypeAttribute.cs: Return zero-length string if TypeName is
null. Avoid using property in ctor.
* XmlArrayAttribute.cs: Return zero-length string if ElementName is
null. Avoid using property in ctor.
* XmlArrayItemAttribute.cs: IsNullable must be false by default.
Return zero-length string if DataType or ElementName are null. Avoid
using property in ctor.
* SoapElementAttribute.cs: Return zero-length string when DataType
or ElementName are null. Avoid using property in ctor.
* XmlAnyElementAttribute.cs: Return zero-length string when Name is
null. Avoid using property in ctor.
* XmlAttributeAttribute.cs: Avoid using property in ctor. Return
zero-length string if AttributeName or DataType are null.
* XmlChoiceIdentifierAttribute.cs: Return zero-length string when
MemberName is null.
* XmlElementAttribute.cs: Return zero-length string when DataType or
ElementName are null. Avoid using property in ctor.
* XmlEnumAttribute.cs: Avoid using property in ctor.
* XmlIncludeAttribute.cs: Avoid using property in ctor.
* XmlReflectionImporter.cs: AttributeName, ElementName and DataType
can no longer be null. Use check for zero-length string to determine
whether they are set. Corrected exception message when DataType is
set for complex type.
* XmlRootAttribute.cs: Return zero-length string if DataType or
ElementName are null. Avoid using property in ctor.
* XmlTextAttribute.cs: Return zero-length string if DataType is null.
* XmlTypeAttribute.cs: Return zero-length string if TypeName is null.
svn path=/trunk/mcs/; revision=47896
|
|
* System.Xml.dll.sources : removed XmlValueConverter (obsoleted).
* System.Xml_test.dll.sources : removed XPathAtomicValue (obsoleted).
svn path=/trunk/mcs/; revision=44076
|
|
* System.Xml_test.dll.sources : Added XPathAtomicValueTests.cs.
svn path=/trunk/mcs/; revision=33792
|
|
* System.Xml_test.dll.sources : Added XmlWriterSettingsTests.cs.
svn path=/trunk/mcs/; revision=33565
|
|
* System.Xml_test.dll.sources : Added XmlReaderSettingsTests.cs.
XmlReaderCommonTests.cs and XmlSchemaSetTests.cs were missing.
svn path=/trunk/mcs/; revision=33474
|
|
svn path=/trunk/mcs/; revision=29093
|
|
* System.Xml_test.dll.sources :
Added new test files: nist_dom stuff, XmlSecureResolverTests.cs,
XmlSchemaAssertion.cs, MsxslScriptTests.cs.
svn path=/trunk/mcs/; revision=24858
|
|
System.Xml.Serialization/ComplexDataStructure.cs.
svn path=/trunk/mcs/; revision=24543
|
|
* System.Xml_test.dll.sources : Removed XmlSchemaAssertion.cs. It does
not seem to be in CVS. This was breaking the build on windows.
svn path=/trunk/mcs/; revision=23315
|
|
* System.Xml_test.dll.sources : Added XmlEntityTests.cs and
XmlDocumentEventTests.cs.
svn path=/trunk/mcs/; revision=23185
|
|
System.Xml.Serialization/DeserializeTests.cs
System.Xml.Serialization/XmlAttributesTests.cs
System.Xml.Serialization/XmlReflectionImporterTests.cs
System.Xml.Serialization/XmlSerializationWriterTests.cs
svn path=/trunk/mcs/; revision=21320
|
|
* System.Xml_test.dll.sources : Added XmlSchemaBuiltInDatatypeTests.cs
* Added XmlSchemaBuiltInDatatypeTests.cs : Currently fails due to
bug 52274.
This tests the changes to BuiltInDatatype that I checked in this morning.
svn path=/trunk/mcs/; revision=21288
|
|
* System.Xml_test.dll.sources : patch by David Sheldon. Added XmlSchemaLengthFacetTests.cs.
svn path=/trunk/mcs/; revision=20853
|
|
* System.Xml.dll.sources : added XsdParticleValidationState.cs
and XsdValidatingReader.cs.
* System.Xml_test.dll.sources : added XsdParticleValidationTests.cs
and XsdValidatingReaderTests.cs.
svn path=/trunk/mcs/; revision=17560
|
|
svn path=/trunk/mcs/; revision=16200
|