Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 | |
|
|
![]() |
||||
Thread | Forum | |||
Please give us REVEAL CODES like WORD PERFECT not reveal codes in. | Microsoft Word Help | |||
Word 2003 | Microsoft Word Help | |||
Making Word do something that Wordperfect can do | New Users | |||
Macros - Keyboard Commands | Microsoft Word Help | |||
WP Delay Code - Word Equiv | Microsoft Word Help |