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

Namespace Error [fDOMDocument.php:525] #416

Open
leandromacedo opened this issue Aug 28, 2019 · 1 comment
Open

Namespace Error [fDOMDocument.php:525] #416

leandromacedo opened this issue Aug 28, 2019 · 1 comment

Comments

@leandromacedo
Copy link

Hi,

First of all, thanks for this great tool. It has been really handy in our project. We started using it recently but a strange bug is happening and I wasn't able to debug it.

When I run the phpdox command, I get:

[28.08.2019 - 09:43:55] The following file(s) had errors during processing and were excluded:
[28.08.2019 - 09:43:55]  - /srv/fence/fence/source/JReader.php (Namespace Error [fDOMDocument.php:525])
[28.08.2019 - 09:43:55]  - /srv/fence/fence/source/JProcessor.php (Namespace Error [fDOMDocument.php:525])

Both files have the proper namespace like the other files, so I checked fDOMDocument.php and it seems to be a problem in the DOMDocument::createElementNS() call. Any idea of why this is happening? I tried to change the name of these classes and files but the error persists.

As example, one of the namespace declaration is just:

<?php
namespace Fence;

class JProcessor
{
   // ...
}

Sorry if this was already answered somewhere else, I tried to search but didn't find anything.

Thanks a lot for your time.

@theseer theseer transferred this issue from theseer/fDOMDocument Nov 29, 2021
@theseer
Copy link
Owner

theseer commented Nov 29, 2021

Not sure if this issue is still relevant. Sorry for taking so long to notice it.

I cannot reproduce this though by quickly dumping your example into a test. Do you have any more pointers? :)

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

2 participants