Age | Commit message (Collapse) | Author |
|
merged 55290, 55291, 55309, 55359, 55360, 55364, 55371, 55414, 55415 and
55418 from trunk.
svn path=/tags/mono-1-1-13/mcs/; revision=55476
|
|
* XmlSchemaSet.cs : Add() rollbacks IsCompiled to false.
Global components are not added when Add() is called.
* XmlSchemaSetTests.cs : added AddRollbackIsCompiled(); Add() changes
IsCompiled to false.
svn path=/trunk/mcs/; revision=55151
|
|
* XmlSchemaSet.cs : reverted previous fix; it broke inclusions.
* XmlSchemaSetTests.cs : reverted the patch, thus restore [Ignore].
svn path=/trunk/mcs/; revision=55146
|
|
* XmlSchemaSet.cs : Add() needs (consistent) namespace duplicate check.
* XmlSchemaSetTests.cs : re-enabled test for Add() which was
inconsistent in beta versions.
svn path=/trunk/mcs/; revision=55145
|
|
* XmlWriter.cs : In WriteNode(XPathNavigator, bool), Avoid
ReadSubtree() for non-element content since they are not allowed
in ReadSubtree() (but allowed here).
* XPathNavigator.cs : use WriteNode(XPathNavigator, bool)
rather than WriteNode(XmlWriter, bool) in WriteSubtree().
* XmlWriterTests.cs : added tests for WriteNode(XPathNavigator, bool)
as well as XPathNavigator.WriteSubtree(XmlWriter).
svn path=/trunk/mcs/; revision=55143
|
|
* XmlValidatingReader.cs : In ReadTypedValue(), treat Whitespace
nodes as target string nodes as well as other text nodes.
* 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.
* XmlSchemaSimpleTypeRestriction.cs : maxLength and minLength were
likely to be ignored in ValidateNonListValueWithFacets().
* XmlSchemaValidator.cs : Don't use normalized string value as the
input to AssessStringValid().
* XsdValidatingReaderTests.cs : test for ReadTypeValue() that it
does not ignore whitespace nodes, and it does not normalize string
incorrectly.
svn path=/trunk/mcs/; revision=55129
|
|
* XsltTestUtils.cs,
catalog.sed,
xslttest.cs,
Makefile : To run under Linux, strip \r. Fixed mcs -r arguments
(case sensitive).
svn path=/trunk/mcs/; revision=55128
|
|
* XmlValidatingReader.cs : ReadTypedValue() was not working with
non-XmlSchemaDatatype types.
* XsdValidatingReaderTests.cs : test for ReadTypeValue() with simple
type restriction.
svn path=/trunk/mcs/; revision=55127
|
|
if value is null or zero-length string. Modified WriteNmToken to throw
ArgumentException if name is null or zero-length string. Cosmetic
change to WriteStringInternal.
* XmlElement.cs: In 2.0 profile, do not throw ArgumentNullException
if new value for Prefix is null.
* XmlElementTests.cs: Improved tests for setting prefix to null
or zero-length string. On 2.0 profile, setting prefix to null should
not result in ArgumentNullException.
* XmlTextWriterTests.cs: Enabled WriteNmToken tests and
WriteWhitespace tests for null or zero-length value.
svn path=/trunk/mcs/; revision=55115
|
|
* XmlTextWriterTests.cs : removed silly part from
WriteStartElement_XmlPrefix (). We are not reproducing MS bugs.
(kept remaining part of this test; see if it makes sense after
bug #77094 got fixed).
svn path=/trunk/mcs/; revision=55091
|
|
arrays. Added tests for bug #77117. Refactored some existing tests.
svn path=/trunk/mcs/; revision=54915
|
|
with null or zero-length value (await approval for XmlTextWriter
change from Atsushi).
svn path=/trunk/mcs/; revision=54914
|
|
svn path=/trunk/mcs/; revision=54900
|
|
* XmlSchemaExporterTests.cs: Added tests for class, IXmlSerializable
and primitives.
* System.Xml_test.dll.sources: Added XmlSchemaExporterTests.cs.
svn path=/trunk/mcs/; revision=54898
|
|
svn path=/trunk/mcs/; revision=54885
|
|
NotWorking). Added tests for MS bugs (that have been fixed since).
svn path=/trunk/mcs/; revision=54881
|
|
individual tests.
svn path=/trunk/mcs/; revision=54871
|
|
with null or zero-length value (await approval for XmlTextWriter
change from Atsushi).
svn path=/trunk/mcs/; revision=54868
|
|
svn path=/trunk/mcs/; revision=54867
|
|
svn path=/trunk/mcs/; revision=54866
|
|
svn path=/trunk/mcs/; revision=54859
|
|
* XmlTextWriter.cs : when namespaceURI is String.Empty, Prefix
should be just ignored (it is likely to happen that DOM nodes
with empty namespace URI are specified non-empty prefix by
users, which had better be just ignored). Fixed bug #77095.
* XmlTextWriterTests.cs : enabled
WriteStartElement_Prefix_EmptyNamespace() and
NamespacesPrefixWithEmptyAndNullNamespaceEmpty().
svn path=/trunk/mcs/; revision=54850
|
|
* XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
- null should cause ArgumentNullException.
- "" should not raise an error.
- throws ArgumentException when it is readonly.
* XmlElementTests.cs : Patch by Vorobiev Maksim.
- setting null to Prefix should raise ArgumentNullException.
- setting String.Empty to Prefix should be allowed.
svn path=/trunk/mcs/; revision=54849
|
|
* XsdValidatingReader.cs : Fixed the bug that only the last
* schema
URL in a schemaLocation was processed. Patch by Vorobiev
Maksim.
* XsdValidatingReaderTests.cs : test for multi URLs in
schemaLocation. Test by Vorobiev Maskim.
* multi-schemaLocation.xml,
x-net-config-storage-factory-provider-schema.xsd,
x-net-config-schema.xsd :
test support files for XsdValidatingReaderTests
.MultipleSchemaInSchemaLocation() by Vorobiev Maskim.
svn path=/trunk/mcs/; revision=54848
|
|
svn path=/trunk/mcs/; revision=54847
|
|
renumbered some tests. Added tests for WriteStartElement and
WriteElementString for zero-length and null local names.
Added tests for bugs #77093, #77094 and #77095.
svn path=/trunk/mcs/; revision=54846
|
|
svn path=/trunk/mcs/; revision=54845
|
|
* XslOutput.cs: Do not report error for unknown value for "standalone"
and "omit-xml-declaration" attributes, and extranous attributes if
stylesheet version is not "1.0".
svn path=/trunk/mcs/; revision=54836
|
|
* Compiler.cs : pass stylesheet version to XslOutput to
* determine
"indent" value validity.
* XslOutput.cs, HtmlEmitter.cs, GenericOutputter.cs : Reverted
buggy changes on "indent" attribute handling.
http://www.w3.org/TR/xslt#section-HTML-Output-Method
svn path=/trunk/mcs/; revision=54833
|
|
svn path=/trunk/mcs/; revision=54832
|
|
svn path=/trunk/mcs/; revision=54803
|
|
* XmlTextWriter.cs : When xml:space or xml:lang attribute was
directly written without an element, it caused ArgumentOutOfRange.
Fixed bug #77084.
* XmlTextWriterTests.cs : XmlSpace_Valid() is working now.
svn path=/trunk/mcs/; revision=54793
|
|
* XmlTextWriter.cs : (WriteStartAttribute) set prefix as "xmlns" when
namespaceURI is that of xmlns attributes.
* XmlTextWriterTests.cs : XmlNs_Valid2() is working now.
svn path=/trunk/mcs/; revision=54792
|
|
test. Added bug numbers to test cases.
svn path=/trunk/mcs/; revision=54785
|
|
test. Added bug numbers to test cases.
svn path=/trunk/mcs/; revision=54784
|
|
svn path=/trunk/mcs/; revision=54782
|
|
svn path=/trunk/mcs/; revision=54781
|
|
* 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
|
|
* XslTemplate.cs : don't check name and mode attributes on
non-'xsl:template' element. This should fix bug #77051.
svn path=/trunk/mcs/; revision=54674
|
|
become useful. Added few tests that fail on Mono.
svn path=/trunk/mcs/; revision=54535
|
|
class. Added WriteDocType tests.
* XmlWriterTests.cs: No longer derive from deprecated Assertion class.
svn path=/trunk/mcs/; revision=54531
|
|
* DTDObjectModel.cs : (CreateXsdParticle) element particle was
missing occurence indicators.
svn path=/trunk/mcs/; revision=54470
|
|
* System.Configuration.dll.sources: added
IntegerValidatorAttribute.cs, IntegerValidator.cs,
LongValidator.cs and LongValidatorAttribute.cs.
* IntegerValidatorAttribute.cs, IntegerValidator.cs,
LongValidator.cs, LongValidatorAttribute.cs : new files.
svn path=/trunk/mcs/; revision=54458
|
|
svn path=/trunk/mcs/; revision=54441
|
|
* XPathNavigator.cs : Added MonoTODO to CreateAttributes(). Removed
MonoTODO from ReadSubtree().
* XPathNavigatorReaderTests.cs : Actually AttributesAndNamespaces()
does not work under MS.NET.
svn path=/trunk/mcs/; revision=54366
|
|
* XPathNavigatorReader.cs : oh, so it used to compile under 1.x.
svn path=/trunk/mcs/; revision=54365
|
|
* 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
|
|
* XmlNode.cs : (GetNamespaceOfPrefix) return const xml/xmlns URIs
only under 2.0.
svn path=/trunk/mcs/; revision=54356
|
|
Added UnderlyingObject support.
svn path=/trunk/mcs/; revision=54353
|
|
* XmlNode.cs : under 2.0 xml/xmlns are treated as special cases in
GetNamespaceOfPrefix()/GetPrefixOfNamespace() (but it still does not
implement IXmlNamespaceResolver, bummer).
svn path=/trunk/mcs/; revision=54352
|