Fraser Goffin | 2 Dec 16:14 2005
Picon

Comparing XML, xsl:normalize-space and schemaTron

Slightly confused about using normalize-space.

If I have the following XML instance document (notice the spaces) :-

<compare>
	<compareWith>   A</compareWith>
	<comparisonValues>
		<value>B</value>
		<value>   A   </value>
		<value>A </value>
	</comparisonValues>
</compare>

and I use this expression :-

normalize-space(/compare/comparisonValues/value[3]) = 
normalize-space(/compare/compareWith)

the result is true.

If I remove [3] it is an error ('too many items')

if I remove normalize-space and [3] from the LHS, the result is false.

and if I remove spaces from the final comparisonValues/value in the XML, the 
result is true

This seems OK (although it would be nice if I *could* use normalize-space on 
all of the nodes returned)

(Continue reading)

Michael Kay | 2 Dec 16:39 2005

RE: Comparing XML, xsl:normalize-space and schemaTron

> If I have the following XML instance document (notice the spaces) :-
> 
> <compare>
> 	<compareWith>   A</compareWith>
> 	<comparisonValues>
> 		<value>B</value>
> 		<value>   A   </value>
> 		<value>A </value>
> 	</comparisonValues>
> </compare>
> 
> and I use this expression :-
> 
> normalize-space(/compare/comparisonValues/value[3]) = 
> normalize-space(/compare/compareWith)
> 
> the result is true.
> 
> If I remove [3] it is an error ('too many items')

So presumably you are using XPath 2.0. In 1.0, it would simply take the
first node in the node-set.

> This seems OK (although it would be nice if I *could* use 
> normalize-space on 
> all of the nodes returned)

In 2.0, use /compare/compareWith/normalize-space(.) or

for $c in /compare/compareWith return normalize-space($c)
(Continue reading)

Miloslav Nic | 12 Dec 15:13 2005

XSLT 2.0 Tutorial at Zvon


Hello,

  I have just published  a snapshot of XSLT 2.0 tutorial:

http://zvon.org/xxl/XSL-Ref/Tutorials/index.html

 I decided to switch to XSLT 2.0  at XML Prague 2005 when listening to 
Michael Kay: http://www.xmlprague.cz/sessions.html):

It is not a finished material but as it will take many months to finalize 
my vision I hope that with 200+ functional stylesheets and partially 
working indexes it is already a useful resource.

                                 Miloslav Nic 

--

-- 
******************************************
<firstName> Miloslav </firstName>
<surname>   Nic      </surname>
<web>http://www.zvon.org; http://Law-Ref.org</web>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe <at> lists.mulberrytech.com>
--~--

Henry S. Thompson | 13 Dec 10:21 2005
Picon
Picon

W3C XML Schema public home page tools listing updated


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Six months' worth of updates to the Tools listing [1] just published,
sorry to all submitters for the long gap.

In future, requests for listing/update (sent as always to
xmlschema-dev <at> w3.org) will be handled within one week _if_ they
include a pre-formatted attachment per the following template:

 <h4><a name="*[shortname]*">*[Name]*</a></h4>

 <div class="divbody">
 <p><a href="">*[Message subject]*</a> *[Your name]* *[Message date]*</p>

 <p>[One -- three short descriptive paragraphs, no links]</p>

 <p>[Final short paragraph with link] <a href="*[URL]*">*[URL]*</a></p>
 </div>

 <li><a href="">*[Message date]*</a> *[Name]*</li>

 <a href="#*[shortname]*">*[Name]*</a>

ht

[1] http://www.w3.org/XML/Schema.html#Tools
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
(Continue reading)

Jon Hanna | 13 Dec 20:27 2005
Picon

Re: Best Practice for URI construction?

Costello, Roger L. wrote:
[snip]
> http://www.location.org/US/MA/Boston
[snip]
> http://www.location.org?country=US&state=MA&city=Boston 
[snip]
> *Questions*
>  
> (1) The above URLs (I believe) are expressing the same thing - they are 
> identifying the same resource.  So which is "better"?

Whichever proves most convenient. If all similar resources that are also 
being encoded fit into the first format, then I'd favour it, but neither 
are wrong per se, so it's really a matter of which causes other 
developers the least hassle.

There is in practice a difference in the default caching behaviour of 
GET operations on the two URIs, a feature of HTTP1.1 for historical 
reasons of URIs with queries frequently being used for operations that 
should really have been POST, PUT or DELETE operations. Best practice is 
to be explicit anyway, so this makes little difference.

Boston, MA can also be identified with the URIs:

http://example.net/sdaflwqensdsdaiwe%20fdsw and 
http://example.net/cityThing.php?id=12321

The latter is not that rare in practice.

> (2) As was noted at the top, the purpose of a URL is to "identify" a 
(Continue reading)

Collin Hsu | 15 Dec 18:10 2005

Is there any ready subject taxonomy for Semantic Web?


We created one, however it's not satifactory.

I wonder if this work has been done by somebody or some organization else?

Many thanks for your help!

Cheers,
Collin

York Sure | 15 Dec 18:30 2005
Picon
Picon

AW: Is there any ready subject taxonomy for Semantic Web?


Dear Collin,

if you are looking for a taxonomy of topics relevant for the Semantic Web
you might want to check the efforts of the Knowledge Web network of
excellence:

  https://wiki-sop.inria.fr/wiki/bin/view/Acacia/KnowledgeWeb

This topic hierarchy is available in OWL as an extension of the SWRC
ontology (Semantic Web for Research Communities):

  http://ontoware.org/projects/swrc
  (the module is called 'swrc-swtopics')

Greetings,
York

--
Dr. York Sure
Institute AIFB, University of Karlsruhe (TH)
phone: +49 (0) 721 608 6592
web: http://www.aifb.uni-karlsruhe.de/WBS/ysu 

> -----Urspr√ľngliche Nachricht-----
> Von: semantic-web-request <at> w3.org 
> [mailto:semantic-web-request <at> w3.org] Im Auftrag von Collin Hsu
> Gesendet: Donnerstag, 15. Dezember 2005 18:11
> An: semanticweb <at> yahoogroups.com; semantic-web <at> w3.org; 
> xml-dev <at> lists.xml.org
(Continue reading)

Chiusano Joseph | 15 Dec 18:40 2005

RE: [xml-dev] Is there any ready subject taxonomy for Semantic Web?


Clarification: Are you looking for an "upper taxonomy"? (akin to an
upper ontology)

Joe

Joseph Chiusano
Associate
Booz Allen Hamilton

700 13th St. NW, Suite 1100
Washington, DC 20005
O: 202-508-6514  
C: 202-251-0731
Visit us online <at>  http://www.boozallen.com

> -----Original Message-----
> From: Collin Hsu [mailto:collin <at> w3china.org] 
> Sent: Thursday, December 15, 2005 12:11 PM
> To: semanticweb <at> yahoogroups.com; semantic-web <at> w3.org; 
> xml-dev <at> lists.xml.org
> Subject: [xml-dev] Is there any ready subject taxonomy for 
> Semantic Web?
> 
> We created one, however it's not satifactory.
> 
> I wonder if this work has been done by somebody or some 
> organization else?
> 
> Many thanks for your help!
(Continue reading)

Leonid Ototsky | 16 Dec 11:15 2005
Picon

Re: [SPAM] Re: RE: [xml-dev] Is there any ready subject taxonomy for Semantic Web?


Taxonomy is only one part of the Duality "Taxonomy-Meronomy".
The another part must be taken into account as well -
- http://ototsky.mgn.ru/it/21abreast.htm

Leonid Ototsky- http://ototsky.mgn.ru/it

> Thank each of you for giving me help!

> Actually what we need is a subject taxonomy on Semantic Web, just
> like https://wiki-sop.inria.fr/wiki/bin/view/Acacia/KnowledgeWeb
> mentioned by York.

> Collin

>> Clarification: Are you looking for an "upper taxonomy"? (akin to an

>> upper ontology)

>> 

>> Joe

>> 

>> Joseph Chiusano

>> Associate

>> Booz Allen Hamilton
(Continue reading)

Azamat | 16 Dec 19:41 2005

Re: Is there any ready subject taxonomy for Semantic Web?


Dear Collin,
Recently  our company has made publicly available the Unified Standard 
Entity Classification Systems (USECS), which can meet your requirements. 
Based on a Unified Framework Ontology (UFO), the USECS is more fundamental 
and systematic than other alternatives such as CYC, WordNet, and OWL. 
Besides, the unifying scheme encompasses the Web Directories, the knowledge 
references as Britannica's subjects, Webster's Dictionary, and UN 
classifications of industry, products, and services. Thus it permits to 
construct rich semantic web ontologies in any domain of knowledge, practice, 
or business.
Currently the content can be free downloaded from the websites:
http://www.eis.com.cy
http://www.encyclopedic-itelligence.com

All the best in your study,

Azamat Abdoullaev
EIS Encyclopedic Intelligent Systems Ltd
Pafos, CYPRUS

----- Original Message ----- 
From: "Collin Hsu" <collin <at> w3china.org>
To: <xml-dev <at> lists.xml.org>
Sent: Thursday, December 15, 2005 7:10 PM
Subject: Is there any ready subject taxonomy for Semantic Web?

>
> We created one, however it's not satifactory.
>
(Continue reading)


Gmane