Age | Commit message (Collapse) | Author |
|
* XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
should not cause indentation override like text, cdata and
whitespaces do.
Fixed some error messages on node kind.
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
(I don't want to remove old great code but it confused mike today.)
* XmlTextWriterTests.cs : added test case for comments, PIs and
indentation.
svn path=/trunk/mcs/; revision=63079
|
|
* XmlTextWriter.cs : WriteRaw("") is not simply ignored but process
state check and closes open tag.
* XmlTextWriterTests.cs : added test WriteRaw("") closes open tag.
svn path=/trunk/mcs/; revision=56842
|
|
* XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs
XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs
XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs:
cleaning up obsolete NET_1_0 code.
svn path=/trunk/mcs/; revision=56239
|
|
* XmlTextWriter.cs : avoid case-insensitive String.Compare().
Use array for openElements rather than ArrayList.
svn path=/trunk/mcs/; revision=56210
|
|
* XmlTextWriter.cs : Fixed bug #77082.
When the state was Start, after WriteProcessingInstruction() and
WriteWhitespace() change it to Prolog.
After WriteDocType() set state to WriteState.Element.
* XmlTextWriterTests.cs : added some tests for XMLdecl state check.
* XslTransformTests.cs : Output_Indent_Xml_DocType() is working now.
svn path=/trunk/mcs/; revision=55487
|
|
* XmlTextWriter.cs : Do not local duplicate of automatically-created
prefixes (i.e. check local autocreated prefixes other than
namespaces from ancestors). Fixed bug #77086 and #77087.
* XmlTextWriterTests.cs : Split AutoCreatePrefixes() and marked as
Ignore rather than NotWorking. Also it is not for bug #77086 and
#77077 (they were fixed). See bug #77088.
svn path=/trunk/mcs/; revision=55418
|
|
* XmlTextWriter.cs : Fixed bug #77094. Only XmlTextWriter checks
such invalid "xml" prefix which is being mapped to different
namespace URI than the predefined one.
Removed comment that does not make sense.
* XmlNamespaceManager.cs : IsValidDeclaration() could be private.
Added some comments.
* XmlTextWriterTests.cs : re-enabled bug #77094 related tests.
svn path=/trunk/mcs/; revision=55414
|
|
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
|
|
* 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
|
|
* 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
|
|
svn path=/trunk/mcs/; revision=54441
|
|
* XmlValidatingReader.cs : added CanReadBinaryContent.
* XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are
now both public and private (i.e. hush IsVirtual).
* XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs :
NormalizeNewLines vanished.
* XmlWriterSettingsTests.cs : NormalizeNewLines does not exist anymore
svn path=/trunk/mcs/; revision=52876
|
|
* XmlTextWriter.cs : oops, so WriteState.Error is NET_2_0 only.
svn path=/trunk/mcs/; revision=52105
|
|
* XmlTextWriter.cs : (Error state check) actually I need to set Error.
* XmlNamespaceManagerTests.cs : GetNamespacesInScope() - Added test
labels. Fixed counts; they count default namespaces. MS seems to
have a bug on declaration removal (xmlns='') on .Local.
* XmlNodeReaderTests.cs : in .NET 2.0 undeclared entity are not
allowed at all, so disabled tests that depends on such references.
svn path=/trunk/mcs/; revision=52101
|
|
* XmlTextWriter.cs : throw InvalidOperationException if any of
WriteBlah() methods were invoked at error state.
* XmlTextWriterTests.cs : split some tests that try to write nodes
at error state (.NET 2.0 correctly rejects them).
svn path=/trunk/mcs/; revision=52100
|
|
* XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs :
added supprot for NormalizeNewLines.
NewLineOnAttributes is considered only when Indent is true.
* XmlWriterSettingsTests.cs : test for NormalizeNewLines.
svn path=/trunk/mcs/; revision=51109
|
|
* XmlTextWriter.cs : for surrogate pair, output character
* reference
as a single character instead of two reference pairs. Fixed
bug #76095.
Patch by Brion Vibber.
* XmlTextWriterTests.cs : added #76095 testcase.
svn path=/trunk/mcs/; revision=49997
|
|
* XmlTextWriter.cs : In WriteQualifiedName(), when there is open
attribute, it calls LookupPrefix() and then if namespace was empty,
it resulted in an exception. Fixed bug #75546.
* XmlTextWriterTests.cs : added bug #75546 testcase.
svn path=/trunk/mcs/; revision=47312
|
|
convert the whole thing to CRLF). Set svn:eol-style native for
files with LF line-endings. Remove svn:executable.
svn path=/trunk/mcs/; revision=46117
|
|
* XmlWriter.cs : WriteQualifiedName() should check namespace validity
(whether it is in scope or not).
* XmlTextWriter.cs : When WriteQualifiedName() is invoked inside
attribute and no matching namespace declaration, create prefix
on demand. Code reused from WriteStartAttribute().
* XmlTextWriterTests.cs : added more tests on WriteQualifiedName().
svn path=/trunk/mcs/; revision=42189
|
|
* XmlTextWriter.cs : namespace declaration check for those which starts
with 'x' 'm' 'l' should not be done here (it might be 'declared'
though reserved).
* XmlNamespaceManager.cs : error message for "'xml' prefix for
different namespace" is incorrect.
svn path=/trunk/mcs/; revision=41546
|
|
* XmlTextWriter.cs : For duplicating namespace mapping, it should
create another prefix without throwing an exception.
* XmlTextWriterTests.cs : added testcase for duplicating namespace
mapping processing (should create another prefix, not exception).
svn path=/trunk/mcs/; revision=41387
|
|
* XmlTextWriter.cs : LookupPrefix() should not return those prefix
that is overriden by another xmlns declaration.
* XmlTextWriterTests.cs : Added test for LookupPrefix() for
overriden prefix.
svn path=/trunk/mcs/; revision=41372
|
|
* XmlTextWriter.cs : WriteString() should be valid when
WriteStartDocument() was not called.
* XmlTextWriterTests.cs : Test for call to WriteRaw() -> WriteString()
svn path=/trunk/mcs/; revision=41159
|
|
* XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.
* XmlTextWriterTests.cs : added Indent2() to test WriteComment EOL.
svn path=/trunk/mcs/; revision=38702
|
|
* XmlReader.cs : not fixage, just explicitly formatted code a bit.
* XmlTextReader.cs,
XmlEntity.cs,
XmlAttributeCollection.cs,
XmlTextWriter.cs,
XmlElement.cs,
XmlNode.cs,
DTDObjectModel.cs,
XmlParserInput.cs,
DTDReader.cs,
XmlDocument.cs : warning removal.
svn path=/trunk/mcs/; revision=36587
|
|
* XmlQualifiedName.cs : in 2.0 it is [Serializable].
* XmlTextReader.cs : removed unused local variable.
* XmlTextWriter.cs : Improved some exception messages.
moved some private fields into #if NET_2_0.
* XmlValidatingReader.cs : rename specifiedResolver to
resolverSpecified and use it in internal get_Resolver().
Added [Obsolete] for ReadTypedValue() whose base is obsoleted.
svn path=/trunk/mcs/; revision=36465
|
|
* XmlReader.cs : removed old ReadValueAsXXX() and added new
ReadContentAsXXX() and ReadElementContentAsXXX().
* XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now).
* XmlTextWriter.cs : added indentation on Comment nodes.
* XmlDateTimeSerializationMode.cs : updated.
* XmlResolver.cs : added 2.0 NameTable field.
* ValidationType.cs : added ObsoleteAttributes on some members.
svn path=/trunk/mcs/; revision=36358
|
|
* XmlTextWriter.cs : Close() should not Flush() when the output is
already closed. bug #65918 is fixed.
svn path=/trunk/mcs/; revision=33851
|
|
* XmlTextWriter.cs : CloseOutput must be true by default.
svn path=/trunk/mcs/; revision=33760
|
|
* XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs :
Implemented CheckCharacters and CloseOutput support.
svn path=/trunk/mcs/; revision=33563
|
|
* XmlReader.cs : evidence is always provided.
* XmlWriter.cs, XmlTextWriter.cs :
added support for ConformanceLevel and OmitXmlDeclaration.
svn path=/trunk/mcs/; revision=33558
|
|
* XmlTextReader.cs : Console.WriteLine() injected :(
* XmlTextWriter.cs : It it partly supports XmlWriterSettings.
* XmlWriter.cs : implemented Create().
* XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated).
svn path=/trunk/mcs/; revision=33554
|
|
* XmlTextWriter.cs : In CheckState(), don't create indentation string
at every time. WriteIndent() now handles the indentation without
recomputation.
svn path=/trunk/mcs/; revision=32882
|
|
* XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
* XmlQualifiedName.cs : Added internal static Parse().
* XmlReader.cs : use XmlQualifiedName.Parse().
* XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
* XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
Implemented 2.0 virtual methods that used to be abstract in 1.x.
svn path=/trunk/mcs/; revision=31540
|
|
svn path=/trunk/mcs/; revision=30055
|
|
* DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
XmlTextWriter.cs : Globalization.
* XmlNode.cs : Fixed error message that confused node type.
svn path=/trunk/mcs/; revision=29825
|
|
* XmlTextReader.cs : Character range check is always done. It is only
character references for which check is not done when Normalization
is false.
A bit more kind error message for multiple document element error.
* XmlTextWriter.cs : Check if character is valid and entitize when
it was invalid.
svn path=/trunk/mcs/; revision=29426
|
|
* NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
* XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
shown in xslt standalone tests.
svn path=/trunk/mcs/; revision=28908
|
|
* XmlTextWriter.cs : Improved indenting. For children of a mixed
content element, it won't be indented.
svn path=/trunk/mcs/; revision=28905
|
|
* XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
They require that names are *already* atomized.
* XmlNodeReader.cs,
XmlTextWriter.cs : use safe overload of LookupXXX().
svn path=/trunk/mcs/; revision=28789
|
|
* XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
(if it is Start). Fixed bug #59154.
svn path=/trunk/mcs/; revision=28233
|
|
* XmlTextWriter.cs : comment not in the content state is indented.
This fixes bug #58247.
svn path=/trunk/mcs/; revision=27017
|
|
the name is empty, convert it to a xmlns attribute.
svn path=/trunk/mcs/; revision=26909
|
|
* XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.
svn path=/trunk/mcs/; revision=24361
|
|
* XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
svn path=/trunk/mcs/; revision=23246
|
|
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs.
svn path=/trunk/mcs/; revision=22966
|
|
* ChangeLog : Fixed incorrect description that should be written for
DTDValidatingReader.cs but written for DTDReader.cs.
* DTDValidatingReader.cs : Fixes described in the last DTDReader fix.
* XmlChar.cs,
XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
replaced XmlChar with XmlConstruts, renaming "XmlChar" to
"XmlCharCompact" and "XmlConstructs" to "XmlChar".
(XmlChar will be used for compact framework.)
* DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs :
XmlChar related changes. Support for surrogate pair.
It cannot use TextReader's peek anymore (for surrogate pair).
Character range check for PI value, attribute value, text
* XmlTextWriter.cs : Change openElements from Stack to ArrayList.
(It calls ToArray() every time.)
svn path=/trunk/mcs/; revision=22741
|
|
* XmlTextWriter.cs : quick performance fix.
Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)
svn path=/trunk/mcs/; revision=22514
|