XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Validate RDF/RDFS/OWL?

On Wed, 2012-06-27 at 21:14 +0300, Victor Porton wrote:
[...]
> I need this in order to write a new specification about use of RDF for
> describing XML namespaces.

This is not a meaningful concept.

An XML namespace is a name, conventionally a URI or IRI, that can be
associated with one or more names used in a document for two main
purposes -
(1) to disambiguate elements or attributes that might otherwise have the
same name;
(2) to identify an XML vocabulary (and perhaps also its creator).

If you mean, using RDF to validate that an XML instance conforms to a
particular definition of an XML vocabulary, then really you are using
RDF to validate XML documents, perhaps as an alternative to a DTD or
RelaxNG or W3C XML Schema.

I don't know why you would want to do this; in particular, be careful
not to introduce unintended "semantics", for example by associating a
name in an XML document with a URI in a way not expected by whoever
created the vocabulary and/or document.

Note that it is _not_ intended that namespace URIs be dereferenced.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
http://www.holoweb.net/~liam/
Co-author: Beginning XML, Wrox, July 2012



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS