You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error element has xsd:annotations and xsd:documentation tags associated with it. Is is possible to get access to these elements? Are their alternative libraries which could do this if this can't. If not, would it be possible to extend libxml-xsd to make this a capability?
Thanks!
The text was updated successfully, but these errors were encountered:
You would like to access the element that caused the error ? Seems like a good idea, I don't know if it is doable. I don't maintain this module actively, but I review pull requests, so feel free to look into it and submit a PR.
Actually, it's not quite just access the element, some elements have annotations or documentation, I would like to have these in the response object. I have taken a quick look, and I may be wrong, but I believe that I would need to modify libxmljs-mt in order to achieve what I want with this module. Does that seem / sound right?
Hi,
If I get an error on a particular element, I get a JSON object back in the validate callback which looks as follows:
{"domain":17,"code":1866,"level":2,"column":0,"line":149,"str1":"tracmaxFiles"}
This error element has xsd:annotations and xsd:documentation tags associated with it. Is is possible to get access to these elements? Are their alternative libraries which could do this if this can't. If not, would it be possible to extend libxml-xsd to make this a capability?
Thanks!
The text was updated successfully, but these errors were encountered: