By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,584 Members | 1,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,584 IT Pros & Developers. It's quick & easy.

The active schema does not support the element 'xml'

P: n/a
I am trying to insert an xml data island into a htm file that I am using for
a help file. When I insert the lines of xml, the <xml> tag is underlined in
red in VS2003 and the message says "The active schema does not support the
element 'xml'.

the html is as follows

<HTML xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<HEAD>
<meta name="vs_targetSchema" content="HTML 4.0">
<TITLE>Setting Options</TITLE>

<xml><MSHelp:Keyword Index="K" Term="Random" />
<MSHelp:Keyword Index="K" Term="Options" />
</xml>
</HEAD>
<BODY>
<h1>Setting options</h1>
<P><IMG alt="" src="options.jpg"></P>
<P>This is the options form of the Random Number Server.</P>
<P>Enter the minimum and maximum values you would like to set</P>
<P>for the random numbers and click OK. You can also click Cancel to</P>
<P>keep the current settings.</P>
</BODY>
</HTML>

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"David C. Allen" <da*****@avci.net> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
I am trying to insert an xml data island into a htm file that I am using for
a help file. When I insert the lines of xml, the <xml> tag is underlined in
red in VS2003 and the message says "The active schema does not support the
element 'xml'. : : <meta name="vs_targetSchema" content="HTML 4.0">


Nowhere in the HTML 4.0 specification does <xml> appear,

http://www.w3.org/TR/html4/

nor the DTD,

http://www.w3.org/TR/html4/sgml/dtd.html

HTML lets you type any tag you want into an HTML document, and browsers
that don't understand the tag will ignore the tag (but may display text nodes).
The <xml> tag is part of Internet Explorer's support for XML Data Islands,
but it isn't strictly HTML.

The red squiggle is generated by Visual Studio .NET to notify you that you've
diverged from the schema it has for HTML 4.0. It uses this schema for Intelli-
Sense. Aside from that, you can go ahead and enter any tags not supported
by the schema.
Derek Harmon
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.