Reply
 
Thread Tools Display Modes
  #1   Report Post  
farseer
 
Posts: n/a
Default Using schema in Word document

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

xsd:import
namespace=3D"http://www.w3.org/1999/xhtml"schemaLocation=3D"http://www.w3.o=
rg/2002/08/xhtm=ADl/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.=20

any ideas?

  #2   Report Post  
Bob Buckland ?:-\)
 
Posts: n/a
Default

Hi Farseer,

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

===========
"farseer" wrote in message ups.com...
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/new...lic.office.xml

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




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please give us REVEAL CODES like WORD PERFECT not reveal codes in. Rachel King Microsoft Word Help 38 August 21st 09 09:54 PM
Word 2003 [email protected] Microsoft Word Help 39 April 19th 06 06:35 PM
Making Word do something that Wordperfect can do NarniaUK New Users 4 May 1st 05 10:44 PM
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM
WP Delay Code - Word Equiv Mike G - Milw, WI Microsoft Word Help 6 January 10th 05 04:12 PM


All times are GMT +1. The time now is 08:22 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"