- CURIE
-
A CURIE (short for Compact URI) defines a generic, abbreviated syntax for expressing URIs. It is an abbreviated URI expressed in CURIE syntax, and may be found in both XML and non-XML grammars. A CURIE may be considered a datatype.
An example of CURIE syntax:
[isbn:0393315703]
The square brackets may be 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 XML element names.
The first W3C Working Draft of CURIE syntax was released 7 March 2007.[1]
The final recommendation was released 16 January 2009 [2]
Contents
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 ("<html xmlns:wiki="http://en.wikipedia.org/wiki/">") is highlighted in yellow
- The CURIE ("[wiki:Biome]") is highlighted in green
See also
References
External links
- W3C Candidate Recommendation 16 January 2009 [1]
World Wide Web Consortium Products and
standardsCanonical XML · CDF · CSS · DOM · Geolocation API · HTML · ITS · MathML · OWL · P3P · PLS · RDF · RDF Schema · SISR · SKOS · SMIL · SOAP · SRGS · SSML · SVG · SPARQL · Timed Text · VoiceXML · WSDL · XForms · XHTML · XHTML+RDFa · XInclude · XLink · XML · XML Base · XML Encryption · XML Events · XML Information Set · XML namespace · XML Schema · XML Signature · XPath 1.0, 2.0 · XPointer · XProc · XQuery · XSL · XSL-FO · XSLT (elements)NotesWorking DraftsGuidelinesInitiativeDeprecatedOrganizations Software Conference-related Categories:- World Wide Web Consortium standards
Wikimedia Foundation. 2010.