How to parse <assert> tag in XSD1.1 using XSOM Parser?

I have been using XSOM parser (xsom-20140925.jar) for parsing XSD 1.0 and able to achieve parsing all xs:elements and restrictions (like pattern, minOccurs etc..).

Lately our XSD1.0 been upgraded to version XSD1.1, where new <assert> tag been included. My XSOM parser fails to identify this assert tag and throws the following exception.

Could not parse the inputstream: org.xml.sax.SAXParseException: Unexpected <xsd:assert> appears at line. java.lang.NullPointerException

Any help and suggestions would help me solve the issue.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gertone (Geert Bormans)Information ArchitectCommented:
If xsom were to have 1.1 support
you could indicate the schema is 1.1 like this
<xs:schema xmlns:xs="" elementFormDefault="qualified" xmlns:vc="" vc:minVersion="1.1">

Open in new window

at least it should then ignore the assert constructs

As far as I know however, xsom has no support for xsd1.1
(you should check the java doc for it)
Both Xerxes and Saxon have full support for XSD1.1
If this is from Java, I would recommend that you use Xerxes as your parser instead

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Guy Hengel [angelIII / a3]Billing EngineerCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
Gertone (Geert Bormans)Information ArchitectCommented:
Please accept https:#a41141126 as the answer
This question has been answered completely and this is an important question + answer to have in the database

assertions have been a long wanted feature for XML schema
with the advent of XSD1.1 assertions have been included to the schema language
but even after all this time, there are only two parsers that really support it
This is tricky because as you can see from the question, the feature is a very tempting extension to the language. Many people try to use it but their toolset does not allow that. All options as a resolution have been given in my first response. Please accept
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.