XNCL

XML Namespace Catalogue Language(?)

This is just another hack attempt at producing an XML Namespace Catalogue Language that the people on XML-DEV will find solice in.

Abstract

XNCL is a language intended to be used as a de facto dereferencable resource for namespaces.

Details

This specification is an XHTML Family derived from XHTML Basic. It has been modified in the following ways:-

The prologue of the file is as follows:-

 <!DOCTYPE html PUBLIC "-//Infomesh//DTD XNCL-XHTML Basic 1.0 //EN" 
  "http://infomesh.net/xncl/dtd/">

 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xlink="http://www.w3.org/1999/xlink" 
       xmlns:xncl="http://infomesh.net/xncl/ns/" xml:lang="en" >

LINK

The link element is to be used in the following way:-

@rel
Must be set to meta
@xncl:type
Must be set to nsc (namespace catalogue)
@type
Must be set to the MIME type of the linked schema
@href
A link to the primary defining schema

RESOURCE

@xlink:type
Set to simple
@xlink:href
Contains the URI for the Schema being referenced with regards to the particular arcrole
@xlink:arcrole
This references the normative URI definition for the Schema
@xlink:title
This should be a prose title for the XLINK

Multiple resources's are allowed because of family Schemas, for example, a link to further XHTML may have three types of DTD: Strict, Transitional, Frameset.

Example

<link rel="meta" xncl:type="ncl" type="application/rdf" href="myschema.rdf">
<xncl:resource xlink:type="simple" 
     xlink:href="myschema.rdf"
     xlink:arcrole="http://www.w3.org/2000/01/RDF-Schema"
     xlink:title="RDF Schema" />
</link>

Prose

In the prose description for the Schemas, you should use XPath to refer to the link elements, and hypertext to link to the Schemas.

Sean B. Palmer