-
Notifications
You must be signed in to change notification settings - Fork 56
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
[Notepad++ Plugin] Validation fails with XML comments #89
Comments
This works ok for me - what version are you using? |
@grahamegrieve I am running the following version Plugin Version: 1.0.28 |
well, that's not it. a screen shot? |
@grahamegrieve Attached is a screenshot of the fhir message and the output of validation. If it is any use I am running Windows 10 Pro x64, and my Notepad++ version is v7.5.6 (32-bit) |
how did you invoke the validation? this looks like an error from a server,
not the built in validator
Grahame
…On Wed, Apr 18, 2018 at 6:02 PM, Steven Cooney ***@***.***> wrote:
@grahamegrieve <https://github.com/grahamegrieve> Attached is a
screenshot of the fhir message and the output of validation.
[image: image]
<https://user-images.githubusercontent.com/30004860/38918897-ef813fe6-42e6-11e8-80cb-1d468f173029.png>
If it is any use I am running *Windows 10 Pro x64*, and my Notepad++
version is *v7.5.6 (32-bit)*
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFllFVdqLqJXofbADqlPVS979Cgm9eRrks5tpvMjgaJpZM4TWHgZ>
.
--
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au
/ +61 411 867 065
|
@grahamegrieve I have been validating the message using the Validation Resource button on the FHIR toolbox (4th button in). Is there another way or a way which only validates locally? |
no. that way. It's just that the error message is wrong and impossible.
I'll.... do something....
…On Fri, Apr 20, 2018 at 6:30 PM, Steven Cooney ***@***.***> wrote:
@grahamegrieve <https://github.com/grahamegrieve> I have been validating
the message using the Validation Resource button on the FHIR toolbox (4th
button in).
[image: image]
<https://user-images.githubusercontent.com/30004860/39039337-3d5bb272-447d-11e8-8b64-328268d53515.png>
Is there another way or a way which only validates locally?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFllFbx8X1v3W4qD-X_DuOFfmkHpj26wks5tqZyIgaJpZM4TWHgZ>
.
--
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au
/ +61 411 867 065
|
@grahamegrieve did you ever make any further progress on this? |
I started to rewrite the validation thing and part of it was to look at this, but it turned into a nightmare monster that still isn’t complete. I’ll let you know when I have the new version
Grahame
… On 10 May 2018, at 5:22 pm, Steven Cooney ***@***.***> wrote:
@grahamegrieve did you ever make any further progress on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have been using the excellent Notepad++ FHIR plugin you provide which includes validation of FHIR messages. I have noticed though that validation fails when you have a comment in an XML message.
I am aware that the JSON spec does not allow comments, but XML does allow for comments and since the FHIR can be written in XML I believe that the validation from the plugin should ignore XML comments.
Below is a a couple of messages to demonstrate the issue above.
XML FHIR message WITHOUT a comment that PASSES validation:
XML FHIR message WITH a comment that FAILS validation:
Validation Output:
The text was updated successfully, but these errors were encountered: