CURIE
From Wikipedia, the free encyclopedia
A CURIE (short for Compact URI) is an abbreviated URI expressed in CURIE syntax, and may be found in both XML and non-XML grammars. The format of a CURIE is based largely on the InterWiki link syntax used by wikis such as Mediawiki. A CURIE may be considered a datatype.
An example of CURIE syntax: [isbn:0393315703]
The square brackets are used to prevent ambiguities between CURIEs and regular URIs.
QNames (the namespace prefixes used in XML) often are used as a CURIE, and may be considered a type of CURIE. CURIEs, as defined by the W3C, will be better defined and may include checking. Unlike QNames, the part of a CURIE after the colon does not need to conform to the rules for element names.
The first W3C Working Draft of CURIE syntax was released 7 March 2007 [1].
[edit] Example
This example is based on one from the W3C Working Draft 7 March 2007, using a QName syntax within XHTML.
<html xmlns:wiki="http://en.wikipedia.org/wiki/"> <head>...</head> <body> <p> Find out more about <a href="[wiki:Biome]">biomes</a>. </p> </body> </html>
- The definition is highlighted in yellow
- The CURIE is highlighted in green
[edit] External links
Standards of the World Wide Web Consortium | |
|---|---|
| Recommendations | CDF · CGI · CSS · DOM · HTML · MathML · OWL · RDF · RDF Schema · SISR · SMIL · SOAP · SRGS · SSML · SVG · Timed Text · VoiceXML · WSDL · XACML · XForms · XHTML · XML · XML Base · XML Events · XML Information Set · XML Schema (W3C) · XPath · XPointer · XQuery · XSL Transformations · XLink |
| Notes | XHTML+SMIL |
| Working Drafts | CCXML · CURIE · InkML · XFrames · XFDL · WICD · XHTML+MathML+SVG |

