+2005-06-27 Andrew Skiba <andrews@mainsoft.com>
+
+ * DTDReader.cs : don't validate entity values, when the entry is
+ redefined so it will be never used. Fixes valid-sa-086 test from W3C
+ xmlconf suite.
+
2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
* XmlQueryDialect.cs : removed.
private void ResolveExternalEntityReplacementText (DTDEntityBase decl)
{
if (decl.LiteralEntityValue.StartsWith ("<?xml")) {
+ // FIXME: not always it should be read in Element context
XmlTextReader xtr = new XmlTextReader (decl.LiteralEntityValue, XmlNodeType.Element, null);
- if (decl is DTDEntityDeclaration) {
+ if (decl is DTDEntityDeclaration && DTD.EntityDecls [decl.Name] == null) {
// GE - also checked as valid contents
StringBuilder sb = new StringBuilder ();
xtr.Normalization = this.Normalization;
}
decl.ReplacementText = CreateValueString ();
- if (decl is DTDEntityDeclaration) {
+ if (decl is DTDEntityDeclaration && DTD.EntityDecls [decl.Name] == null) {
// GE - also checked as valid contents
+ // FIXME: not always it should be read in Element context
XmlTextReader xtr = new XmlTextReader (decl.ReplacementText, XmlNodeType.Element, null);
StringBuilder sb = new StringBuilder ();
xtr.Normalization = this.Normalization;
+2005-06-27 Andrew Skiba <andrews@mainsoft.com>
+
+ * fixme.lst: remove fixed testcase
+
2005-06-27 Andrew Skiba <andrews@mainsoft.com>
* knownFailures.lst, fixme.lst: remove fixed testcases