}
#endif
- [MonoTODO ("We decided not to support XDR schema that spec is obsolete.")]
+ [MonoTODO]
+ // We decided not to support XDR schema; it is obsolete.
public ValidationType ValidationType {
get { return validationType; }
set {
}
XmlParserContext IHasXmlParserContext.ParserContext {
- get { return dtdReader != null ? dtdReader.ParserContext : null; }
+ get {
+ if (dtdReader != null)
+ return dtdReader.ParserContext;
+ IHasXmlParserContext i = sourceReader as IHasXmlParserContext;
+ return i != null ? i.ParserContext : null;
+ }
}
#if NET_2_0
return validatingReader.MoveToNextAttribute ();
}
- [MonoTODO ("We decided not to support XDR schema that spec is obsolete.")]
+ [MonoTODO]
+ // We decided not to support XDR schema; it is obsolete.
public override bool Read ()
{
if (validatingReader == null) {
}
#if NET_2_0
- [MonoTODO ("Check how expanded entity is handled here.")]
+ [MonoTODO] // FIXME: Check how expanded entity is handled here.
public override int ReadContentAsBase64 (byte [] buffer, int offset, int length)
{
if (validatingReader != null)
return sourceReader.ReadContentAsBase64 (buffer, offset, length);
}
- [MonoTODO ("Check how expanded entity is handled here.")]
+ [MonoTODO] // FIXME: Check how expanded entity is handled here.
public override int ReadContentAsBinHex (byte [] buffer, int offset, int length)
{
if (validatingReader != null)
return sourceReader.ReadContentAsBinHex (buffer, offset, length);
}
- [MonoTODO ("Check how expanded entity is handled here.")]
+ [MonoTODO] // FIXME: Check how expanded entity is handled here.
public override int ReadElementContentAsBase64 (byte [] buffer, int offset, int length)
{
if (validatingReader != null)
return sourceReader.ReadElementContentAsBase64 (buffer, offset, length);
}
- [MonoTODO ("Check how expanded entity is handled here.")]
+ [MonoTODO] // FIXME: Check how expanded entity is handled here.
public override int ReadElementContentAsBinHex (byte [] buffer, int offset, int length)
{
if (validatingReader != null)