Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

& Validation failed: no DTD found ! #20

Open
lo3ty opened this issue Dec 29, 2015 · 0 comments
Open

& Validation failed: no DTD found ! #20

lo3ty opened this issue Dec 29, 2015 · 0 comments

Comments

@lo3ty
Copy link

lo3ty commented Dec 29, 2015

Hi there,

I'm using this package for parsing an XML File.
I created a XSD File to validate the XML's structure.

When there are occurences of & entities inside the XML I get the following error while validating the XML File:
Validation failed: no DTD found !

Why does in this case the validation fails? & is a valid entity to use inside a XML document even if no doctype is declared.

I tried declaring one custom doctype, autogenerated by phpstorm, even if I put the dtd file on my webroot the parsing script wasn't able to fetch it. It kept saying that the dtd file could not be found on the given path, even though the file was exactly at the path the error said it wasn't.

Can someone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant