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
In the parse method, it does read the schema version from the source file which is working fine. But when users call the isValid or validate method without specify a schema version it always use latest version as default. This does not work for the case of XML since the xmlns in the source file does not match with the one in the latest version.
In library we have a method to get the schema version from the source file but this method is private and cannot be used by the users. It means in order to get correct version, users need to check themselves before hand.
I suggest we should read schema version automatically as we do with the parse method.
The text was updated successfully, but these errors were encountered:
In the
parse
method, it does read the schema version from the source file which is working fine. But when users call theisValid
orvalidate
method without specify a schema version it always use latest version as default. This does not work for the case of XML since the xmlns in the source file does not match with the one in the latest version.In library we have a method to get the schema version from the source file but this method is private and cannot be used by the users. It means in order to get correct version, users need to check themselves before hand.
I suggest we should read schema version automatically as we do with the
parse
method.The text was updated successfully, but these errors were encountered: