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/xhtml/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? 3 1840
* farseer wrote in microsoft.public.dotnet.xml: 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'."
This is a known bug in many Microsoft products, the original Namespaces
in XML Recommendation was unclear about declaring the "xml" prefix in
documents; it's considered disallowed in many Microsoft products and the
W3C later clarified that it is allowed. See also http://lists.w3.org/Archives/Public/...5Feb/0141.html
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.
You could try http://schneegans.de/frontpage/xhtml-schema/ (german)
instead.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Sounds like a big in the product. You try loading this schema in the "XML
Text Editor". That should work.
The 'xml' prefix is probably coming from the fact that xhtml imports the xml
namespace for xml:space attributes.
"farseer" <fa*****@optonline.net> wrote in message
news:11*********************@g43g2000cwa.googlegro 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/xhtml/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?
the solution for now was to download the schema locally and change the
ref from "xml" to 'xm'. not clean, but it works for now This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael |
last post by:
I apologize if this might be a beginner question, which is clear to
the experts. But I could not find a clear answer yet.
I have extracted a schema / user with the exp utility. I want to
import...
|
by: Fezboy |
last post by:
Greetings!
I'm trying to import elements declared in the METS and MODS XML Schema
into my own. I've gotten to the point where the xsd validates, but when
I try to validate a document against...
|
by: Steve George |
last post by:
Hi, I have a scenario where I have a master schema that defines a
number of complex and simple types. I then have a number of other
schemas (with different namespaces) where I would like to reuse...
|
by: Poonam |
last post by:
Hi,
Can some one please help me with (or point me to) a very simple but
working code sample that shows how to import XML Schema.
I have tried many samples out there on internet but nothing seems...
|
by: Ali |
last post by:
I am having problem compiling schema contained in WSDL file when analyzing
schema types contained in it (for example
http://www.ebout.net/net/GoogleSearch.wsdl).
Following code demonstrates my...
|
by: Sam Alexander |
last post by:
Hi Everone,
I'm writing a script to import data from an XML file, and this tutorial is
really an awesome guide :
http://www.kbalertz.com/Q316005/Import.Server.Component.aspx ... problem
though...
|
by: Arndt Jonasson |
last post by:
Let's say an XML Schema schema A uses types from another schema B.
Then, if I understand things correctly, A needs to import schema B
(maybe "importing its namespace" is more correctly put). It is...
|
by: =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= |
last post by:
I am trying to use a web service that publishes a WSDL with external schema
(.XSD files), unfortunately the .NET wsdl.exe is not able to generate the
proxy class for it.
It seems that wsdl.exe...
|
by: JimP |
last post by:
I'm importing XML files into a SQLExpress DB using SQLXML and VB.net
2005. I have a simple *.xsd schema file that is pulling in all
attributes from the <Activityelement.
It also has a...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |