* XmlTextReader.cs, DTDReader.cs : 0xFFFF was treated as if it were
0x10000. (It is invalid and should be rejected by decent
XmlReaders usage though.) Fixed bug #594628.
svn path=/trunk/mcs/; revision=155853
* XmlTextReader.cs : there still was use of bogus
XmlParserContext.NameTable.
* XmlTextReaderTests.cs : added test for null nametable in parser
context.
svn path=/trunk/mcs/; revision=140397
* Various changes to support the non-XAP XmlSchema resolution on
the Moonlight build.
Major missing feature: WebRequest resolution.
svn path=/trunk/mcs/; revision=139248
2009-04-28 Sebastien Pouliot <[email protected]>
* XmlReaderCommonTests.cs: Add test case for an empty string url
In System.Xml:
2009-04-28 Sebastien Pouliot <[email protected]>
* XmlTextReader.cs (InitializeContext): Under NET_2_1 do not give
a second change using Path.GetFullPath. (GetStreamFromUrl) Add
extra validations that would be missed in NET_2_1
svn path=/trunk/mcs/; revision=132856
2009-03-02 Chris Toshok <[email protected]>
* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
has HasValue.
In System.XML/System.Xml:
2009-03-02 Chris Toshok <[email protected]>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
EntityResolvingXmlReader.cs: 2.1 has HasValue.
In System.XML/Mono.Xml:
2009-03-02 Chris Toshok <[email protected]>
* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.
In System.Xml.Linq/System.Xml.Linq:
2009-03-02 Chris Toshok <[email protected]>
* XNodeReader.cs: 2.1 has HasValue.
In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02 Chris Toshok <[email protected]>
* JsonReader.cs: 2.1 has HasValue.
svn path=/trunk/mcs/; revision=128406
* *.cs: The tuner takes care of the visibility of this for us, and it
is in fact needed. (Readd ReadAttributeValue to 2.1)
svn path=/trunk/mcs/; revision=127366
* 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
* 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
* XmlReader.cs XmlNodeReader2.cs XmlTextReader.cs XmlTextReader2.cs
XmlNodeReaderImpl.cs EntityResolvingXmlReader.cs :
The previous attempt was wrong. Those internal-virtualized ones
could be used in System.Xml.Core classes and outside the assembly
any derived XmlReaders would have thrown throw Exception.
Now I marked them as nonexistent-in-2.1 or privatized.
* XmlWriter.cs : actually only this class is affected (if there
were DOM or XSD they would have been affected as well).
* SubtreeXmlReader.cs XmlFilterReader.cs : further dependent changes.
svn path=/trunk/mcs/; revision=83706
* XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
do not exist in 2.1 profile. Hiding abstract stuff seems to cause
some issues at run time, so they are ifdef-ed out from 2.1.
* XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
EntityResolvingXmlReader.cs : hence the change above.
* SubtreeXmlReader.cs XmlFilterReader.cs : dependent changes due to
XmlReader.cs changes for 2.1 profile.
svn path=/trunk/mcs/; revision=83702
* XmlTextReader.cs : Fixed ReadChars() to consume child elements,
including such cases that it breaks tags in the middle of multiple
ReadChars() calls.
* XmlTextReaderTests.cs : added test for bug #80308.
svn path=/trunk/mcs/; revision=69713
* XmlTextReader.cs : ReadChars() does not have to store characters,
so avoid extra storing. Patch by Csaba Halasz, fixed bug #80306.
svn path=/trunk/mcs/; revision=69712
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs:
pass the XmlResolver through to the GetStream impl.
2006-11-13 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added custom resolver case for primary
XML stream (custom resolver is indeed used and here it should cause
error).
svn path=/trunk/mcs/; revision=67808
* XmlTextReader.cs, XmlTextReader2.cs, DTDReader.cs :
(ResolveExternalEntityReplacementText) need to skip text
declaration in external entities. To make it possible internalize
SkipTextDeclaration() in XmlTextReader(2). Fixed bug #79090.
svn path=/trunk/mcs/; revision=63890
* XmlTextReader.cs : When a whitespace node comes after a text
declaration in XML external entity (i.e. .ctor() with
XmlNodeType.Element), it contained extra value character ('<').
* XmlTextReaderTests.cs : added test for whitespace node value which
comes after a text declaration in XML external entity (i.e. .ctor()
with XmlNodeType.Element).
svn path=/trunk/mcs/; revision=63726
* XmlDocument.cs XmlTextReader.cs : in ReadNode(), we can avoid
extraneous whitespace node creation for XmlTextReader by setting
WhitespaceHandling.Significant when PreserveWhitespace is false.
svn path=/trunk/mcs/; revision=56918
* XmlTextReader.cs : atomize whitespace values. It effectively saves
memory consumption when an input XML is indented.
svn path=/trunk/mcs/; revision=56917
* XmlTextReader.cs : When "Significant" is assigned to
WhitespaceHandling, it should ignore non-significant whitespaces.
* XmlTextReaderTests.cs : added WhitespaceHandling tests.
svn path=/trunk/mcs/; revision=56845
* XmlTextReader.cs : ReadTextReader() is now assured to have current
node content, except for Text, CDATA and Comment. ReadName() does
not use nameBuffer and reuse peekChars.
svn path=/trunk/mcs/; revision=56587
* XmlTextReader.cs : eliminated currentTagBuffer. XmlDeclaration is
now once read as PI and then re-parsed from Value. DTD internal
subset is now parsed as usual "value".
svn path=/trunk/mcs/; revision=56580
* XmlTextReader.cs : Expect() could be written inline and it could
provide better information. ReadEndTag() could use Expect() instead
of costy ReadName().
svn path=/trunk/mcs/; revision=56577
* XmlTextReader.cs : on ReadEndTag() we can avoid NameTable.Add().
Store name, local name and prefix in the stack instead of just name
and reuse them for EndElement.
svn path=/trunk/mcs/; revision=56560
* XmlTextReader.cs : optimization patch by Paolo.
Fast path optimization in PeekChar().
Avoid double-evaluation of PeekChar() and ReadChar() by new
Advance() method.
svn path=/trunk/mcs/; revision=56171