You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.on('end', () =>console.log('All triples were parsed!'));
62
62
```
63
63
64
+
The error thrown for unsupported versions can be skipped
65
+
by setting `parseUnsupportedVersions` to `true` when constructing the parser.
66
+
64
67
### Manually write strings to the parser
65
68
66
69
```javascript
@@ -110,6 +113,8 @@ Optionally, the following parameters can be set in the `RdfXmlParser` constructo
110
113
*`allowDuplicateRdfIds`: By default [multiple occurrences of the same `rdf:ID` value are not allowed](https://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-ID-xml-base). By setting this option to `true`, this uniqueness check can be disabled. _(Default: `false`)_
111
114
*`validateUri`: By default, the parser validates each URI. _(Default: `true`)_
112
115
*`iriValidationStrategy`: Allows to customize the used IRI validation strategy using the `IriValidationStrategy` enumeration. IRI validation is handled by [validate-iri.js](https://github.com/comunica/validate-iri.js/). _(Default: `IriValidationStrategy.Pragmatic`)_
116
+
*`parseUnsupportedVersions`: If no error should be emitted on unsupported versions. _(Default: `false`)_
117
+
*`version`: The version that was supplied as a media type parameter. _(Default: `undefined`)_
0 commit comments