[MonoDevelop] XML Editor

Atsushi Eno atsushi at ximian.com
Sun Mar 5 07:25:31 EST 2006


Hi Matt,

I just tried it - great work :-)  Its context-aware completion is nicely
working (I tried global and xs:element). I should take some time and
try to add RELAX NG grammar support as well.

BTW I found below in XmlSchemaCompletionData.cs:

	/// <remarks>
	/// The XmlSchema class throws an exception if we attempt to load 
	/// the xhtml1-strict.xsd schema.  It does not like the fact that
	/// this schema redefines the xml namespace, even though this is
	/// allowed by the w3.org specification.
	/// </remarks>

I don't think xhml1-strict.xsd is actually rejected, but if you found
bugs
don't hesitate to report it on bugzilla ;-)
For this case, xmlns declaration for "xml" in xhtml1-strict.xsd is bound
to
http://www.w3.org/XML/1998/namespace , so it should not raise an error.
If it was different namespace URI, then it is *not* allowed by W3C
"Namespaces in XML" specification - because of "Namespace Constraint:
Leading "XML"" and "Namespace Constraint: Prefix Declared").

BTW thanks for those XSD bug reports.

Atsushi Eno


> The source code for the XML Editor is now available from SourceForge. 
> As in my previous email, it is about 90% complete, there are a few
> bits and pieces that are missing that will be added shortly.
> 
> 1) Requirements
> 
> The latest version of MonoDevelop from the repository and MonoDevelop
> installed.
> 
> 2) Download
> 
> The source code can checked out from the Subversion repository using:
> 
> svn co https://svn.sourceforge.net/svnroot/md-xed/trunk md-xmleditor
> 
> 3) Installation
> 
> ./autogen.sh --prefix=/path/to/monodevelop
> make
> make install
> 
> Or use the MonoDevelop.XmlEditor solution.  Further information in the README.
> 
> 4) How to use
> 
> An overview and screenshots can be found at:
> 
> http://md-xed.sourceforge.net/screenshots.html
> 
> 5) Issues and Missing Features
> 
> Known issues and missing features can be found in the TODO document.
> 
> 6) Bugs and Feature Requests
> 
> http://sourceforge.net/tracker/?group_id=161356
> 
> 7) Thanks
> 
> Atsushi Eno for fixing XML schema problems as fast as I can report them.
> 
> Regards,
> 
> Matt.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list