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

Missing values return blank rather than the default values #3

Open
SimonFransen opened this issue Aug 8, 2017 · 2 comments
Open

Missing values return blank rather than the default values #3

SimonFransen opened this issue Aug 8, 2017 · 2 comments
Assignees

Comments

@SimonFransen
Copy link

Hi,

With regard to the below functionality:

In the case where there are elements or attributes present in the LabVIEW that are not present in the XML data, then the output LabVIEW data will contain the same values passed into the Data Type and Default Value (variant) input - this is a "best attempt".

When I enter default values into the Labview Data (Type) connector on the Easy Parse XML VI, I am returned blank values rather than the default values when an element is missing in the XML String.

Is there a step that I am missing or is this a bug?

image

Thanks for putting together this awesome tool.

Regards,
Simon

@saranv1988
Copy link

Hi ,
Do we have solution for this issue?

@jimkring jimkring self-assigned this Feb 27, 2018
@viltbalint
Copy link

viltbalint commented Apr 23, 2021

Hi,

very nice tool! This is the only feature that is missing for me. I have to handle optional integer fields, but currently I cannot distinguish between a zero integer field defined on the input and a missing parameter.

Do you know a workaround for this issue? Or do you plan to implement this future in the near feature?

UPDATE: A workaround can be that I use everywhere string type, and I do the type check and cast in the code. Is it correct?

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

4 participants