Age | Commit message (Collapse) | Author |
|
* XmlReaderBinarySupport.cs : do not hang in the middle of reading
byte chunk at some node types. Fixed bug #464229.
* XmlReaderCommonTests.cs : added test for bug #464229.
svn path=/trunk/mcs/; revision=123866
|
|
* XmlReader.cs : ReadContentAsString() does not reject non-elements.
ReadElementContentAsString() rejects non-content nodes.
* XmlReaderCommonTests.cs : added test for ReadContentAsString()
and ReadElementContentAsString() against certain node types.
svn path=/trunk/mcs/; revision=122737
|
|
* XsdValidatingReader.cs : skip text validation under xs:any.
Fixed part of bug #449512.
* XmlSchemaValidator.cs : skip text validation under xs:any.
* XmlValidatingReaderTests.cs : added test for validating mixed
element under xs:any.
svn path=/trunk/mcs/; revision=121093
|
|
* SubtreeXmlReader.cs : Close() should correctly skip empty element.
In Read(), make sure to move from Element state.
* XmlReader.cs : detailed error location in ReadSubtree().
* XmlReaderCommonTests.cs : another Subtree+EmptyElement case.
svn path=/trunk/mcs/; revision=113339
|
|
* SubtreeXmlReader.cs : make sure to set eof for empty element after
Read().
* XmlReaderCommonTests.cs :
added test for NodeType for empty element.
svn path=/trunk/mcs/; revision=113312
|
|
* XmlReader.cs : ReadSubtree() is valid only on an element.
* XmlReaderCommonTests.cs :
added test for ReadSubtree() on non-element.
svn path=/trunk/mcs/; revision=113304
|
|
* XmlNamespaceManager.cs : check null arg.
* XmlTextReader.cs : fixed bug #412657; now we populate nametable
and namespace manager in case they are null in parser context, and
use them instead of the members in the parser context.
* XmlTextReaderTests.cs : added test for bug #412657.
svn path=/trunk/mcs/; revision=109049
|
|
* XmlConvert.cs : fixed bug #397934. Utc mode accepts more formats.
* XmlConvertTests.cs : added test for bug #397934
svn path=/trunk/mcs/; revision=105562
|
|
* XmlConvert.cs : no need for TARGET_JVM.
* XmlConvertTests.cs : no need for TARGET_JVM. Fix wrong comparison.
svn path=/trunk/mcs/; revision=105558
|
|
* XmlTextReader.cs : when Normalized is true, '<' after \r which
comes after text node was incorrectly consumed as a text content.
Fixed bug #398374.
* XmlTextReaderTests.cs : added test for bug #398374.
svn path=/trunk/mcs/; revision=105288
|
|
* XmlConvert.cs : now we can use roundtrip format for float/double.
Fixed bug #320424.
* XmlConvertTests.cs : added test for bug #320424.
svn path=/trunk/mcs/; revision=104961
|
|
* XmlReader.cs : some Create() overloads with baseUri argument did
not set baseUri correctly. Fixed bug #392385.
* XmlReaderSettingsTests.cs : added test for bug #392385.
svn path=/trunk/mcs/; revision=103763
|
|
* XmlReader.cs : force CloseInput to every XmlReader that is created
from url (I mean, every internal XmlReader instance).
* XmlFilterReader.cs : clone settings so that it does not depend on
inconsistent settings after creation. Fixed bug #385638.
* XmlReaderCommonTests.cs : added test for bug #385638.
svn path=/trunk/mcs/; revision=102702
|
|
* XmlAttributeCollection.cs : check attribute identity only if the
source node is in the document tree. Fixed bug #380720.
* XmlElementTests.cs : added test for bug #380720.
* XmlAttributeTests.cs : numbered some assertions.
svn path=/trunk/mcs/; revision=101019
|
|
* XsdParticleValidationState.cs : a choice with only empty particle
children is emptiable. Fixed bug #376395.
* XsdValidatingReaderTests.cs : added test for bug #376395.
* 376395.xml, 376395.xsd : new test files.
* Makefile : extra distfiles (376395.xml, 376395.xsd).
svn path=/trunk/mcs/; revision=99679
|
|
* XmlAttributeCollectionTests.cs: Fixed line endings.
* XmlDocumentEventTests.cs: Fixed line endings.
* XmlNodeTests.cs: Fixed line endings.
* XsdValidatingReaderTests.cs: Fixed line endings.
* XmlDocumentTypeTests.cs: Fixed line endings.
* XmlEntityReferenceTests.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=99458
|
|
class. Improved a few tests. Added link to MS bug report for regression
in .NET 2.0. Numbered tests.
svn path=/trunk/mcs/; revision=99456
|
|
* XmlParserContext.cs : .net does not populate XmlNamespaceManager
automatically.
* XmlDocument.cs : so, always create one here.
* XmlParserContextTests.cs : they are working. case #3 should not
try to parse broken internalSubset (we do not allow broken
intsubset and it is almost no worthy of assuring only-nominal
.net compat that such broken internalSubset should be allowed).
svn path=/trunk/mcs/; revision=96116
|
|
* XmlReader.cs : MoveToNextSibling() should check EOF (as Skip() does
not). Fixed bug #347768.
* XmlReaderCommonTests.cs : added test for bug #347768.
svn path=/trunk/mcs/; revision=93873
|
|
* System.Xml_test.dll.sources: added XmlParserContextTests.cs.
svn path=/trunk/mcs/; revision=92968
|
|
* XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter
relative URIs out.
* XmlUrlResolverTests.cs : fixed test; file://file.txt is to access
such a server whose (domain) name is "file.txt", which is actually
an absolute URI. Remove "regression" in the nunit test.
svn path=/trunk/mcs/; revision=90794
|
|
* XmlSchemaValidator.cs : XmlValueGetter actually needs string value
to validate against a restricted simple type (beyond ParseValue()).
Fixed bug #339934.
* XsdValidatingReaderTests.cs : added test for #339934.
in Test/System.Xml.Schema/standalone_tests:
* Makefile : now we try both default and 2.0 profile tests (i.e.
"make run-test" and "make PROFILE=net_2_0").
For 2.0, use XmlReader.Create().
svn path=/trunk/mcs/; revision=89432
|
|
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
allow more strings than existing one. Fixed bug #339004.
* XmlConvertTests.cs : added test for #339004 and more.
svn path=/trunk/mcs/; revision=89305
|
|
svn path=/trunk/mcs/; revision=88545
|
|
* XsdValidatingReader.cs : r68046 didn't really fix the issue.
Enabled the actual fix. and fixed bug #336625.
* XsdValidatingReaderTests.cs : added test for #336625.
* 336625.xsd : new test file.
* Makefile : extra distfiles (336625.xsd).
svn path=/trunk/mcs/; revision=88537
|
|
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
not Parse(). Use 'K' for roundtrip format.
* XmlCustomFormatter.cs : use RoundtripKind when converting to and
from DateTime.
* XmlConvertTest.cs : added test for DateTime roundtrip.
* XmlSerializerTests.cs : added test for bug #337729.
svn path=/trunk/mcs/; revision=88448
|
|
* SubtreeXmlReader.cs : when a subtree reader is closed, the original
reader moves to the end of the subtree. Fixed bug #334752, patch by
Scott Peterson.
* XmlReaderCommonTests.cs : added test for bug #334752.
svn path=/trunk/mcs/; revision=87812
|
|
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
ignores attributes and namespace decls, so do that.
* XQueryConvert.cs : removed extra stuff that are not in use.
* XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute().
svn path=/trunk/mcs/; revision=86546
|
|
* XmlWriter.cs : implemented WriteValue(object) based on
MSDN "Writing Typed Data" with some fix.
http://msdn2.microsoft.com/en-us/library/bft97s8e(VS.80).aspx
* XmlTextWriter.cs : state check is extraneous. It caused unexpected
rejection of empty namespace URI.
* XmlWriterTests.cs : added test for WriteValue(object).
* XmlTextWriterTests.cs : added WriteQualifiedName() test with empty
namespace.
svn path=/trunk/mcs/; revision=86483
|
|
* XmlTextWriter2.cs : fix extraneous indentation which is put after
omitted xmldecl.
* XmlWriterSettingsTests.cs : added test for extraneous newline on
OmitXmlDeclaration mode.
svn path=/trunk/mcs/; revision=83958
|
|
* 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
|
|
* XmlSchemaValidator.cs : another extra whitespace rejection.
Fixed another issue reported on bug #82183.
* XsdValidatingReaderTests.cs : another test posted on bug #82183.
svn path=/trunk/mcs/; revision=83264
|
|
* XsdValidatingReader.cs : Process empty and element-only contents
differently along with the spec 3.4.4 Element Locally Valid (Complex
Type) 2.3 (and 2.1 respectively). Itchy specification indeed.
This demanded not a few internal changes. Fixed bug #82099.
* XmlSchemaValidator.cs : dependent changes to
XsdParticleValidationState. Changed ValidateWhitespace() to do
the same as we do in XsdValidatingReader.
* XsdValidatingReaderTests.cs : added test for bug #82099.
svn path=/trunk/mcs/; revision=82098
|
|
* XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace
is broken. Fixed bug #82051.
* XmlWriterTests.cs : added test for bug #82051.
svn path=/trunk/mcs/; revision=81852
|
|
* XmlReader.cs : looks like I introduced extra Settings check at
r69383. Fixed bug #82062.
* XmlReaderSettingsTests.cs : added test for bug #82062.
svn path=/trunk/mcs/; revision=81785
|
|
Fixed line endings.
* XmlTextReader.cs: Expose ProhibitDtd on 1.0 profile too.
svn path=/trunk/mcs/; revision=81106
|
|
* XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly,
but since XmlDocumentFragment does not override this property
it must be handled here).
* XmlDocumentFragmentTests.cs : added InnerText().
* XmlWriterSettingsTests.cs : replace \r\n with \n to make it pass
on windows.
svn path=/trunk/mcs/; revision=79457
|
|
* XmlTextWriter2.cs :
NewLineOnAttributes indentation fix, for bug #81770.
* XmlWriterSettingsTests.cs : added test for NewLineOnAttributes.
svn path=/trunk/mcs/; revision=78290
|
|
svn path=/trunk/mcs/; revision=77988
|
|
their coverage. Commented out newly introduced tests since they fail
on Mono.
svn path=/trunk/mcs/; revision=77987
|
|
underlying stream.
svn path=/trunk/mcs/; revision=77503
|
|
* XmlSchemaValidatingReader.cs : nsResolver field must be initialized.
Fixed bug #81460.
* XsdValidatingReaderTests.cs : added test for bug #81460.
svn path=/trunk/mcs/; revision=76376
|
|
* XmlConvert.cs : MinValue and MaxValue are unchanged by the
serialization mode (unlike DateTime.ToString()).
* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.
* XmlConvertTests.cs : added test for MaxValue serialization with
every XmlDateTimeSerializationMode.
svn path=/trunk/mcs/; revision=76275
|
|
* XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling().
Fixed bug #81451, by Eric Mercier.
* XmlReaderCommonTests.cs : added test for bug #81451.
svn path=/trunk/mcs/; revision=76259
|
|
* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs
XmlSchemaNotation.cs XmlSchemaComplexType.cs
XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs
XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs
XmlSchemaRedefine.cs XmlSchemaAttribute.cs :
avoid incorrect compilation of included schemas, fixed bug #81360.
more fix for wrong targetNamespace propagation within current
processing model. Replaced ParentIsSchema field with a property.
* XsdValidatingReaderTests.cs : added test for bug #81360.
* 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files.
* Makefile : added distfiles.
svn path=/trunk/mcs/; revision=76184
|
|
* XmlTextReader.cs : character ']' inside DTD comment caused parser
error. Fixed bug #81294.
* XmlTextReaderTests.cs : added test for bug #81294.
svn path=/trunk/mcs/; revision=75325
|
|
* XmlReader.cs : when Create() returns customized XmlTextReader, set
EntityHandling.ExpandEntities. Fixed bug #81000.
* XmlReaderSettingsTests.cs : added test for bug #81000.
svn path=/trunk/mcs/; revision=73698
|
|
* DTDValidatingReader2.cs, XmlTextReader.cs, XmlNodeReaderImpl.cs:
Read() silently returns false when it is closed. Fixed bug #80848.
* XmlReaderCommonTests.cs : added test for bug #80848.
svn path=/trunk/mcs/; revision=73147
|
|
* XmlReader.cs : ReadElementContentAsString() and all relevant methods
didn't consume empty element correctly.
* XmlReaderCommonTests.cs : added ReadElementContentAsStringEmpty().
svn path=/trunk/mcs/; revision=72402
|
|
* XmlNode.cs : (InsertBefore) when newChild == refChild, do nothing
except for node type check. Fixed bug #80331.
* XmlNodeTests.cs : added tests for bug #80331.
svn path=/trunk/mcs/; revision=69837
|