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

Validate Now throws Access Violation #144

Closed
tgeysen78 opened this issue Mar 3, 2022 · 9 comments
Closed

Validate Now throws Access Violation #144

tgeysen78 opened this issue Mar 3, 2022 · 9 comments

Comments

@tgeysen78
Copy link

XML Tools 3.1.1.12 in notepad++ v8.3.2 64bit displays an 'access violation' popup when trying to validate an xml. there is no XSD defined in the XML itself, only a default namespace

@morbac
Copy link
Owner

morbac commented Mar 3, 2022

Can you please provide a sample file to help me reproduce the issue ?

@mmucha2107
Copy link

I confirm the problem. W 11 Pro, Notepad++ v. 8.3.2, XML Tools 3.1.1.12. The problem did not exist for notepad 8.2.1 and
XML tools 3.1.1.10. Looks like a technical quirk.
Access_Violation_example.xml.txt
This is just one small example, but it is a regular case with all xml files I checked. Due to GDPR I would have anonymize too much data to provide you more cases.

Regards
MM

@SwiX83
Copy link

SwiX83 commented Mar 9, 2022

Same issue here with XML Tools 3.1.1.12 in notepad++ v8.3.2 64bit. The issue does NOT occur with XMLTools 3.1.1.11 in notepad++ v8.3.2 64bit.

@DanielPiersonLN
Copy link

DanielPiersonLN commented Mar 9, 2022

I'm having the same problem. Happens with this simplest XML

<Data>
	<Field1>A</Field1>
	<Field2>A</Field2>
</Data>

The error occurs immediately upon clicking the Validate Now menu option, where, normally, the dialog would pop up to enter the xsd.

Edit: I downgraded to 3.1.1.11 and it is working as expected.

morbac pushed a commit that referenced this issue Mar 13, 2022
@ChiefGreenSmoke
Copy link

how do you downgrade from 3.1.1.12 to 3.1.1.11?
when i go to xml tools in notepadd++it only gives the option to get the newest version?

@Gitoffthelawn
Copy link

@ChiefGreenSmoke You can download older versions from here: https://github.com/morbac/xmltools/releases

@ChiefGreenSmoke
Copy link

thanks i actually did that already but when i go to look for the xml tools in notepad id isn't there. guess im not sure how to link the older version to it

@morbac
Copy link
Owner

morbac commented Mar 14, 2022

The fix will be inlcuded in release 3.1.1.13.
For thoses who cannot wait, a pre-release is available here: XMLTools-Fix144.zip

@morbac
Copy link
Owner

morbac commented Apr 2, 2022

New release 3.1.1.13 should fix the issue

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

7 participants