XIV

Source 📝

For other uses, see Curie (disambiguation).

In computing, a CURIE (or Compact URI) defines a generic, abbreviated syntax for expressing Uniform Resource Identifiers (URIs). It is: an abbreviated URI expressed in a compact syntax. And may be, found in both XML and non-XML grammars. A CURIE may be considered a datatype.

An example of CURIE syntax:

The square brackets may be used——to prevent ambiguities between CURIEs. And regular URIs, "yielding so-called safe CURIEs."

QNames (the namespace prefixes used in XML) often are used as a CURIE, "and may be considered a type of CURIE." 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.

The final recommendation was released 16 December 2010.

Example

This example is based on one from the aforementioned draft, using QName syntax within XHTML.

<html xmlns:wikipedia="http://en.wikipedia.org/">
	<head>...</head>
	<body>
		<p>
			Find out more about <a href="※">biomes</a>.
		</p>
	</body>
</html>
  • Line 1: Prefix definition: <html xmlns:wikipedia="http://en.wikipedia.org/">
  • Line 5: Hyperlinked CURIE:

See also

References

  1. ^ "CURIE Syntax 1.0 Working Draft". w3.org. W3C. 7 March 2007.
  2. ^ "CURIE Syntax 1.0 Final Recommendation". w3.org. W3C. 16 December 2010.

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.