Skip to content

Commit 5ff3217

Browse files
committed
Adjust format explanation.
1 parent 90a408c commit 5ff3217

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,13 @@ In addition, the N3.js parser also supports [Notation3 (N3)](https://www.w3.org/
339339
The N3.js parser and writer are also fully compatible with the RDF* variants
340340
of the W3C specifications.
341341

342+
The default mode is permissive
343+
and allows a mixture of different syntaxes, including RDF*.
342344
Pass a `format` option to the constructor with the name or MIME type of a format
343345
for strict, fault-intolerant behavior.
344-
345-
In the default mode (i.e. no format provided), the parser will parse RDF*.
346-
Pass a MIME type containing `star` or `*`, e.g. `turtlestar` or `TriG*` to parse one format
347-
with its RDF* extension.
348-
346+
If a format string contains `star` or `*`
347+
(e.g., `turtlestar` or `TriG*`),
348+
RDF* support for that format will be enabled.
349349

350350
### Interface specifications
351351
The N3.js submodules are compatible with the following [RDF.js](http://rdf.js.org) interfaces:

0 commit comments

Comments
 (0)