[Mono-dev] XmlException : DocumentType cannot be imported.

Vincent DARON vdaron at ask.be
Wed May 18 08:05:56 EDT 2011

HI all,

I've problem while cloning XmlDocument containing a DocumentType.

Code to reproduce the error :

//Sample file can be found at : 
XmlDocument doc = new XmlDocument();
XmlNode d2 = doc.CloneNode(true);

It works under MS Framework.NET 4.

My mono setup:
Mono JIT compiler version 2.10.2 (tarball Wed Apr 27 09:16:42 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
     TLS:           __thread
     SIGSEGV:       altstack
     Notifications: epoll
     Architecture:  amd64
     Disabled:      none
     Misc:          softdebug
     LLVM:          supported, not enabled.
     GC:            Included Boehm (with typed GC and Parallel Mark)

Any help welcome !



More information about the Mono-devel-list mailing list