472,354 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

xsd:schema targetNamespace="nondomainstring" possible ?

Somewhere (I don't remember where) that Is it possible to enter a simple string as namespace
in a xsd schema definiton. E.g.:

<xsd:schema targetNamespace="mydomainstring">

Is this true?

Marcus
Jul 20 '05 #1
3 2515
Cat
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 27 Jun 2004 22:11:56 +0200, Markus Meckler wrote:
Somewhere (I don't remember where) that Is it possible to enter a simple string as namespace
in a xsd schema definiton. E.g.:

<xsd:schema targetNamespace="mydomainstring">

Is this true?

Marcus

Yes it is true, it's useful for testing etc. Anything you release in the wild
should..
"have the characteristics of uniqueness and persistence"

http://www.w3.org/TR/REC-xml-names/

See above for other details.
- --
Cat

http://www.ratrobot.com/writing/sport/ Would you cheat in a $100 million
dollar lottery if you knew they wouldn't catch you? This is the problem with
drugs in sport. How do we solve it?
Mon Jun 28 21:38:31 UTC 2004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4I/XKHRjYtwQ1QARAg+tAJ9SFCa+GNhKLC+jyIxos+sCD45DHwCdG 9K9
pdQZieafy+gwQK3lopV9AWs=
=GCa9
-----END PGP SIGNATURE-----

Jul 20 '05 #2
MM****@yahoo.com (Markus Meckler) writes:
Somewhere (I don't remember where) that Is it possible to enter a simple string as namespace
in a xsd schema definiton. E.g.:

<xsd:schema targetNamespace="mydomainstring">

Is this true?


Yes. Although XML Namespaces deprecates the use of relative URIs
(which is what that is, technically), W3C XML Schema does not enforce
this. In practice virtually any string can be used as a namespace
name. Strictly speaking, it must be a syntactically valid URI or URI
reference, but that imposes only very modest constraint.

ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Jul 20 '05 #3
Yes, the targetNamespace attribute is typed as xs:anyURI in the
SchemaForSchema, and hence it can contain any string that is allowed by the
lexical representation for xs:anyURI. xs:anyURI allows absolute as well as
relative uris.

Thanks,
Priya

"Markus Meckler" <MM****@yahoo.com> wrote in message
news:cb*************@news.t-online.com...
Somewhere (I don't remember where) that Is it possible to enter a simple string as namespace in a xsd schema definiton. E.g.:

<xsd:schema targetNamespace="mydomainstring">

Is this true?

Marcus

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made but the http to https rule only works for...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.