[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Is a URI a uri or the entity pointed to by the uri?
- From: Michael Kay <mike@saxonica.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Mon, 27 Nov 2017 16:47:00 +0000
Hi Folks, 1. Here is a set: {The Amazon River, George Washington, 3} That set uses a name for each of its member, but the set consists of the
objects named, not of the names themselves.
If you say so. It's your notation, you can define what it means.
Answer: it depends what you mean by "value of". If your question means, for example, What is the [value] property of the element information item in the Infoset produced by parsing the string "<attendee>http://www.example.com/SallySmith</attendee>", then the answer is: there is no value property; the Infoset defines no such property. If your question means something else, for example What is the string-value of the element node in XDM produced by parsing the string "<attendee>http://www.example.com/SallySmith</attendee>", then the answer is "http://www.example.com/SallySmith" (a string, or more precisely, an untypedAtomic value). And if your question means "what is the typed value" of this element node, then the answer is a URI (or more precisely, an instance of xs:anyURI).
If your question refers to some specification of an XML vocabulary that uses the term "value of" in a different way, then the answer could indeed be a person whose name is Sally Smith. You just need to say what you mean. Until you say what you mean, your question is meaningless.
Michael Kay Saxonica
|
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|