diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2006-01-06 07:47:46 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2006-01-06 07:47:46 +0300 |
commit | 12b7f166b639343c0b87773e7e4af58738f19937 (patch) | |
tree | 6a224f8bf53532651f07c310a7597529771f5ad0 /mcs/class/System.XML/Mono.Xml.Schema/ChangeLog | |
parent | 6b7a7509dfbe0c53b57bf378027465184556eff9 (diff) |
2006-01-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.Schema/ChangeLog')
-rw-r--r-- | mcs/class/System.XML/Mono.Xml.Schema/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.Schema/ChangeLog b/mcs/class/System.XML/Mono.Xml.Schema/ChangeLog index 1f45f1b132c..5bda8228106 100644 --- a/mcs/class/System.XML/Mono.Xml.Schema/ChangeLog +++ b/mcs/class/System.XML/Mono.Xml.Schema/ChangeLog @@ -1,3 +1,12 @@ +2006-01-06 Atsushi Enomoto <atsushi@ximian.com> + + * 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. + 2005-12-26 Atsushi Enomoto <atsushi@ximian.com> * XsdValidatingReader.cs : Fixed the bug that only the last schema |