Skip to content

human readable report error #20

@jessevdam

Description

@jessevdam

When doing shema

REFIX : <http://hl7.org/fhir/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

start = @<ObservationShape>

<http://a.example/ObservationShape> {
 :prop1 xsd:string;
 :prop1 ["test"]
}

with data

PREFIX : <http://hl7.org/fhir/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

<http://a.example/Obs1>
 :prop1 "test","vala2","vala3";
 :prop2 "valb1","valb2" .

it gives error

rendering results...
error parsing input data:

errsToSimple@https://rawgit.com/shexSpec/shex.js/master/browser/shex-browserify.js:4154:13
errsToSimple/<@https://rawgit.com/shexSpec/shex.js/master/browser/shex-browserify.js:4113:22
errsToSimple@https://rawgit.com/shexSpec/shex.js/master/browser/shex-browserify.js:4112:75
renderEntry@https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.js:508:36
validate@https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.js:447:7
prepareInterface@https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.js:903:5
@https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.js:1161:1

It gives some results if you select 'appinfo' option

https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html?interface=human&schema=PREFIX%20%3A%20%3Chttp%3A%2F%2Fhl7.org%2Ffhir%2F%3E%0APREFIX%20xsd%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0A%0Astart%20%3D%20%40%3CObservationShape%3E%0A%0A%3Chttp%3A%2F%2Fa.example%2FObservationShape%3E%20%7B%0A%20%3Aprop1%20xsd%3Astring%3B%0A%20%3Aprop1%20%5B%22test%22%5D%0A%7D%0A%0A&data=PREFIX%20%3A%20%3Chttp%3A%2F%2Fhl7.org%2Ffhir%2F%3E%0APREFIX%20xsd%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0A%0A%3Chttp%3A%2F%2Fa.example%2FObs1%3E%0A%20%3Aprop1%20%22test%22%2C%22vala2%22%2C%22vala3%22%3B%0A%20%3Aprop2%20%22valb1%22%2C%22valb2%22%20.%0A%0A%0A&shape-map=%3Chttp%3A%2F%2Fa.example%2FObs1%3E%40%3Chttp%3A%2F%2Fa.example%2FObservationShape%3E

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions