Using schema in Word document

F

farseer

Hello,
i have a schema which also imports the XHTML schema:

<xsd:import
namespace="http://www.w3.org/1999/xhtml"schemaLocation="http://www.w3.org/2002/08/xhtm­l/xhtml1-strict.xsd"/>


This schema validates fine in XMLSpy and in VS2005.

However, in Visual Studio 2005 beta2, when i attempt to reference this
schema from "Templates and Add-ins" it complains that "One or more of
the selected schemas requires additional schemas. these schemas will
automatically be attached to your document".
The problem is, when it attempts to do this an error is occurs: "one or
more schemas you have selected cannot be used in this document. A
schema may not be available, may not be valid, or may require
additional schemas in order to function correctly".

NOW, when i go to Schema Library from "Templates and Addins", clear
everything out, then add my schema here, it correctly finds the XHMTL
namespace and adds it to the list of schemas. however, when time comes
to include those references, the error is "The namespace prefix is not
allowed to start with the reserved string 'xml'."

I am almost certain this is referring to the XHTML schema. but i am
not sure why Word is complaining about this? that schema is valid, as
it is THE xhtml schema defined by the WC3 organization.

any ideas?
 
B

Bob Buckland ?:-\)

Hi Farseer,

You may want to also post this in the MS Office XML
newsgroup (links below).

===========
Hello,
i have a schema which also imports the XHTML schema:

<xsd:import
namespace="http://www.w3.org/1999/xhtml"schemaLocation="http://www.w3.org/2002/08/xhtm­l/xhtml1-strict.xsd"/>


This schema validates fine in XMLSpy and in VS2005.

However, in Visual Studio 2005 beta2, when i attempt to reference this
schema from "Templates and Add-ins" it complains that "One or more of
the selected schemas requires additional schemas. these schemas will
automatically be attached to your document".
The problem is, when it attempts to do this an error is occurs: "one or
more schemas you have selected cannot be used in this document. A
schema may not be available, may not be valid, or may require
additional schemas in order to function correctly".

NOW, when i go to Schema Library from "Templates and Addins", clear
everything out, then add my schema here, it correctly finds the XHMTL
namespace and adds it to the list of schemas. however, when time comes
to include those references, the error is "The namespace prefix is not
allowed to start with the reserved string 'xml'."

I am almost certain this is referring to the XHTML schema. but i am
not sure why Word is complaining about this? that schema is valid, as
it is THE xhtml schema defined by the WC3 organization.

any ideas? >>
--
LLet us know if this has helped you,

Bob Buckland ?:)
MS Office System Products MVP
*courtesy is not expensive and can pay big dividends8

A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.office.xml
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.office.xml

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top