Skip to content
Surf Wiki
Save to docs
general/world-wide-web-consortium-standards

From Surf Wiki (app.surf) — the open knowledge base

CURIE

Form of abbreviated URI


Form of abbreviated URI

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: [isbn:0393315703]

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{{Cite tech report | editor-last1 = Birbeck | editor-first1 = Mark | editor-last2 = McCarron | editor-first2 = Shane | editor-last1 = Birbeck | editor-first1 = Mark | editor-last2 = McCarron | editor-first2 = Shane

Example

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

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

References

Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about CURIE — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report