using XSD/Schema in VS2005/Word project - XML SOAP

This is a discussion on using XSD/Schema in VS2005/Word project - XML SOAP ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

using XSD/Schema in VS2005/Word project

  1. Default using XSD/Schema in VS2005/Word project

    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?


  2. Default Re: using XSD/Schema in VS2005/Word project

    Hi Farseer,

    > 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.
    >

    If you haven't gotten any help on this, you should try asking in the XML
    newsgroup. I vaguely recall seeing something on this problem, once upon a
    time, but I can't remember what the workaround for it was.

    Cindy Meister
    INTER-Solutions, Switzerland
    http://homepage.swissonline.ch/cindymeister
    http://www.word.mvps.org

    This reply is posted in the Newsgroup; please post any follow question or
    reply in the newsgroup and not by e-mail :-)


+ Reply to Thread

Similar Threads

  1. Use Flash in VS2005 Project?
    By Application Development in forum DOTNET
    Replies: 3
    Last Post: 09-04-2007, 09:50 AM
  2. Replies: 4
    Last Post: 08-30-2007, 01:37 PM
  3. Regarding VC++ Project template for in VS2005
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 07-18-2007, 01:33 AM
  4. Regarding VC++ Project template for in VS2005
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 07-18-2007, 01:32 AM
  5. Dataset designer generates invalid schema (VS2005 Developer Editio
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 10-20-2006, 06:45 AM