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
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: