Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes issue #61 #64

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions connegp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h2>Definitions</h2>
<h2>Motivation</h2>
<p>
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 <code>text/xml</code> Media Type, may adhere to one of
For instance, XML documents, while conforming to the <code>application/xml</code> Media Type, may adhere to one of
several DTDs or XML Schemas. RDF documents, with a choice of Media Type serializations such as
<code>text/turtle</code>, <code>application/rdf+xml</code> 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
Expand Down Expand Up @@ -557,13 +557,13 @@ <h4>List Profiles</h4>
&lt;http://example.org/resource/a?_profile=profile-x&amp;_mediatype=text/html>;
rel="canonical"; type="text/html";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?_profile=profile-x&amp;_mediatype=text/xml>;
&lt;http://example.org/resource/a?_profile=profile-x&amp;_mediatype=application/xml>;
rel="alternate";
type="text/xml";
type="application/xml";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?_profile=profile-y&amp;_mediatype=text/xml>;
&lt;http://example.org/resource/a?_profile=profile-y&amp;_mediatype=application/xml>;
rel="alternate";
type="text/xml";
type="application/xml";
formats="http://otherexample.org/profile/y"

&lt;!DOCTYPE html>
Expand All @@ -576,8 +576,8 @@ <h4>List Profiles</h4>
&lt;h1>Profiles available for Resource X&lt;/h1>
&lt;ul>
&lt;li>&lt;a href="?_profile=profile-x&_mediatype=text/html">X, in HTML&lt;/a>&lt;/li>
&lt;li>&lt;a href="?_profile=profile-x&_mediatype=text/xml">X, in XML&lt;/a>&lt;/li>
&lt;li>&lt;a href="?_profile=profile-y&_mediatype=text/xml">Y, in XML&lt;/a>&lt;/li>
&lt;li>&lt;a href="?_profile=profile-x&_mediatype=application/xml">X, in XML&lt;/a>&lt;/li>
&lt;li>&lt;a href="?_profile=profile-y&_mediatype=application/xml">Y, in XML&lt;/a>&lt;/li>
&lt;/ul>
&lt;/body>
&lt;/html>
Expand Down Expand Up @@ -1432,13 +1432,13 @@ <h4>List Profiles</h4>
rel="canonical";
type="application/json";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?_profile=profile-x&amp;_mediatype=text/xml>;
&lt;http://example.org/resource/a?_profile=profile-x&amp;_mediatype=application/xml>;
rel="alternate";
type="text/xml";
type="application/xml";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?_profile=profile-y&amp;_mediatype=text/xml>;
&lt;http://example.org/resource/a?_profile=profile-y&amp;_mediatype=application/xml>;
rel="alternate";
type="text/xml";
type="application/xml";
formats="http://otherexample.org/profile/y"

{
Expand All @@ -1447,12 +1447,12 @@ <h4>List Profiles</h4>
{
"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"]
}
]
}
Expand Down Expand Up @@ -1703,7 +1703,7 @@ <h4>QSA key discovery</h4>
rel="alternate";
type="text/turtle";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?view=profile-y&amp;format=text/xml>;
&lt;http://example.org/resource/a?view=profile-y&amp;format=application/xml>;
rel="alternate";
type="application/xml";
formats="http://otherexample.org/profile/y"
Expand Down Expand Up @@ -1746,7 +1746,7 @@ <h4>QSA key discovery</h4>
rel="alternate";
type="text/turtle";
formats="http://otherexample.org/profile/x",
&lt;http://example.org/resource/a?view=profile-y&amp;format=text/xml>;
&lt;http://example.org/resource/a?view=profile-y&amp;format=application/xml>;
rel="alternate";
type="application/xml";
formats="http://otherexample.org/profile/y"
Expand Down
Loading