Skip to content

position wrong #15

@jonny64

Description

@jonny64
  node -e "
    const R = require('./lib/XMLReader'),
      X = require('./lib/XMLSchemata'),
      Path = require('path');
    const xs = new X(Path.join(__dirname, '__data__', 'sequence.xsd'));
    const r = new R({xs});
    r.on('error', e => console.log(e.message));
    r.process('<ns:client xmlns:ns=\"http://tempuri.org/\"><ns:INVALID>x</ns:INVALID></ns:client>');
  "

Actual: Unexpected ns:INVALID at line 1, position 54, expected: ns:cl_firstname
Expected: Unexpected ns:INVALID at line 1, position 42, expected: ns:cl_firstname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions