morbac / xmltools

XML Tools plugin for Notepad++
GNU General Public License v3.0
260 stars 57 forks source link

XSD Validation Dialog Box #81

Open Ofaolain opened 3 years ago

Ofaolain commented 3 years ago

Hi i have installed XMTOOLS plugin but when i go to validate against against xsd the dialog bog does not show steps i am doing are Plugin XMLTools Validate

i am using v7.9.1 (64-bit) Any help would be appreciated

morbac commented 3 years ago

Hi,

Please can you provide a simple example which could help to reproduce ? Thansk

HarryClark537 commented 3 years ago

Having same issue - I updated from 2.4.11.0 to 3.0.4.2 (latest available on notepad++ plugins admin) and now I get: "No error detected" when validating on a file that I know explicitly has errors. And for some reason I now cannot go back to the 2.4.11.0 release on N++.

morbac commented 3 years ago

I'm not sure you both have the same issue. As I understand, @Ofaolain expects that the DTD selection dialog appears when validating XML, and @HarryClark537 points on DTD validation not working.

The validation file selection is not designed for DTD, but XSD only. DTD must be defined using a DOCTYPE declaration.

DTD validation was improved when fixing issue #42. Then it would help if you provide a xml/dtd sample which I could use to reproduce the issue and if you try with a more recent version (3.1.0.1 or above)

Thanks

derektor commented 3 years ago

Having the same problem. XML Tools plugin Version 3.1.1 (Notepad++ v7.9.2 (32-bit)). The dialog box to choose XSD file to validate opened XML is not showing. There is no way to select particular XSD file.