-
Notifications
You must be signed in to change notification settings - Fork 57
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
DTD validation not working #42
Comments
Hi, have you tried disabling "Prohibit DTD" feature in XMLTools Options dialog ? |
Hi, I come back on initial post. I tried validating xml with DTD using both syntax: Thanks |
Hi, Thank you |
Very strange. |
Indeed, something is wrong in the validation, I have tried the latest version indicated in this thread and I do not see that it improves. Previously it offered a window reporting "DTD validation: XML is valid" now only "No error detected", as if it was just performing a syntax check. The errors found in the validation of an xsd, previously showed them in a list, all. Now, only the first one you find in red on the code, until it is not solved you do not know the next. I think the error summary is very interesting. Conclusion: I edit: I have been testing versions, in 2.4.11.0 everything is validated perfectly and shows the correct message. |
The same problem as above. Pair of xml and xsd files, Win 10 2004, NPP 7.8.7 32 bit. The old validator 2.3.2 and the freeformatter on-line validator works well while 3.0.4.2 shows the message "Invalid schema or missing namespace" |
After changing to version 3.0.4.3 another message is displayed. Translation from Polish: The node is not valid or invalid - no DTD schema declaration or definition was found |
I just tried this on the books-well-formed.xml example. This happens -before- the schema popup. So, when the schema-popup opens, that means that the XML / DTD validation has already passed. Yeah, that is a bit nasty.... However, for this to work, I had to disable "prohibit DTD" and enable "resolve externals", otherwise I got the following error: After tweaking these 2 settings, and if you still have the same errors.. would it be possible to share the XML / DTD files (or a small subset of them)? |
Tweaking these 2 settings has helped! Thank you. |
Hi, I'm on 3.1 and have "prohibit DTD" = false and "resolve externals" = true but I'm still being prompted for a XSD file and namespace URI when trying to validate XML with a DTD file. Any suggestions? Thanks. |
Hi, a fix has been done in 3.1.0.1 |
Hi morbac, |
On the other hand, I'm hitting this same problem (I have "prohibit DTD" = false and "resolve externals" = true but I'm still being prompted for a XSD file and namespace URI when trying to validate XML with a DTD file) in 3.1.1.10. Any suggestions? Thanks! |
Still having the same problem at 3.1.1.15 where the validator will parse the XML , but then ignore the external DTD. Does work if the DTD is internal/inline, but not if it's external. Always insists on setting up an XML Schema instead. The XML parser actually checks for the presence of the dtd file, but then the validator just doesn't use it. I've found out that if I click OK through the XML Schema dialog (without entering anything) the validator does use the DTD. |
I am using the XMLTools to validate some of my older XML's. In the latest releases > 3.0.3.3 the DTD validation is not working any more is there a way to get the DTD validation working again.
The text was updated successfully, but these errors were encountered: