question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xsd.parseFile can't find schema file

See original GitHub issue

With a fresh install of 2.3.0, I get ENOENT: no such file or directory, open './schemas/saml-schema-protocol-2.0.xsd' whenever anything calls isValidXml (libsaml.ts:700).

I also think line 702 should have a premature return with that reject - if the file load fails, it still tries to valid off the non-existent schema.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
tngancommented, Oct 3, 2017

@ahwitz Fixed and patched v2.3.1.

0reactions
tngancommented, Oct 5, 2017

@ahwitz Patched with v2.3.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

parsing xml cannot find schema file - java - Stack Overflow
Your XML currently says that the schemas are on the Web at the specified URIs (such as http://www.springframework.org/schema/beans/spring-beans-4.2.xsd , which ...
Read more >
Validate a XSD Schema that imports another XSD Schema
I would like to validate XML reports with a XSD schema. ... errors complaining that it cannot find schema types defined in the...
Read more >
XML schema file cannot be loaded - JBoss.org
We want to validate the incoming content by using a XML schema file that is contained in the WEB-INF folder of our Java...
Read more >
libxml-xsd - npm
Start using libxml-xsd in your project by running `npm i libxml-xsd`. ... xsd.parseFile(schemaPath, function(err, schema){.
Read more >
A Roadmap to XML Parsers in Python - Real Python
Define Models With XPath Expressions; Generate Models From an XML Schema ... As you can see, even though the default XML parser in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found