Skip to content

& Validation failed: no DTD found ! #20

@lo3ty

Description

@lo3ty

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?

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