From e1aea5ba9ca4c9391ce35f1328dd8dd8887f4b0e Mon Sep 17 00:00:00 2001 From: YoucTagh Date: Wed, 13 Dec 2023 13:56:16 +0100 Subject: [PATCH] fixes issue #61 --- connegp/index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/connegp/index.html b/connegp/index.html index 0a15f34..b6fb592 100644 --- a/connegp/index.html +++ b/connegp/index.html @@ -201,7 +201,7 @@

Definitions

Motivation

In many cases, there are several ways to describe a resource within the scope of a single Media Type. - For instance, XML documents, while conforming to the text/xml Media Type, may adhere to one of + For instance, XML documents, while conforming to the application/xml Media Type, may adhere to one of several DTDs or XML Schemas. RDF documents, with a choice of Media Type serializations such as text/turtle, application/rdf+xml and others, have a large number of vocabularies (classes and properties) available to use for their content's information model. When a client initiates a request @@ -557,13 +557,13 @@

List Profiles

<http://example.org/resource/a?_profile=profile-x&_mediatype=text/html>; rel="canonical"; type="text/html"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?_profile=profile-x&_mediatype=text/xml>; + <http://example.org/resource/a?_profile=profile-x&_mediatype=application/xml>; rel="alternate"; - type="text/xml"; + type="application/xml"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?_profile=profile-y&_mediatype=text/xml>; + <http://example.org/resource/a?_profile=profile-y&_mediatype=application/xml>; rel="alternate"; - type="text/xml"; + type="application/xml"; formats="http://otherexample.org/profile/y" <!DOCTYPE html> @@ -576,8 +576,8 @@

List Profiles

<h1>Profiles available for Resource X</h1> <ul> <li><a href="?_profile=profile-x&_mediatype=text/html">X, in HTML</a></li> - <li><a href="?_profile=profile-x&_mediatype=text/xml">X, in XML</a></li> - <li><a href="?_profile=profile-y&_mediatype=text/xml">Y, in XML</a></li> + <li><a href="?_profile=profile-x&_mediatype=application/xml">X, in XML</a></li> + <li><a href="?_profile=profile-y&_mediatype=application/xml">Y, in XML</a></li> </ul> </body> </html> @@ -1432,13 +1432,13 @@

List Profiles

rel="canonical"; type="application/json"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?_profile=profile-x&_mediatype=text/xml>; + <http://example.org/resource/a?_profile=profile-x&_mediatype=application/xml>; rel="alternate"; - type="text/xml"; + type="application/xml"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?_profile=profile-y&_mediatype=text/xml>; + <http://example.org/resource/a?_profile=profile-y&_mediatype=application/xml>; rel="alternate"; - type="text/xml"; + type="application/xml"; formats="http://otherexample.org/profile/y" { @@ -1447,12 +1447,12 @@

List Profiles

{ "token": "profile-x", "uri": "http://otherexample.org/profile/x", - "media_types": ["application/json", "text/xml"] + "media_types": ["application/json", "application/xml"] }, { "token": "profile-y", "uri": "http://otherexample.org/profile/y", - "media_types": ["text/xml"] + "media_types": ["application/xml"] } ] } @@ -1703,7 +1703,7 @@

QSA key discovery

rel="alternate"; type="text/turtle"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?view=profile-y&format=text/xml>; + <http://example.org/resource/a?view=profile-y&format=application/xml>; rel="alternate"; type="application/xml"; formats="http://otherexample.org/profile/y" @@ -1746,7 +1746,7 @@

QSA key discovery

rel="alternate"; type="text/turtle"; formats="http://otherexample.org/profile/x", - <http://example.org/resource/a?view=profile-y&format=text/xml>; + <http://example.org/resource/a?view=profile-y&format=application/xml>; rel="alternate"; type="application/xml"; formats="http://otherexample.org/profile/y"