org.xml.sax.SAXParseException: cos-all-limited.1.2: An ”all” model group must appear in a particle with ‘{‘min occurs’}’='{‘max occurs’}’=1, and that particle must be part of a pair which constitutes the ‘{‘content type’}’ of a complex type definition.

Hot problem!
This exception has a lot of traffic. You can help 12 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via viralpatel.net by Unknown author, 1 year ago
cos-all-limited.1.2: Anallmodel group must appear in a particle with ‘{‘min occurs’}’='{‘max occurs’}’=1, and that particle must be part of a pair which constitutes the ‘{‘content type’}’ of a complex type definition.
via Oracle Community by 571295, 1 year ago
The value of attribute "value" associated with an element type "xsd:pattern" must not contain the '<' character.
via grokbase.com by Unknown author, 2 years ago
The content of elements must consist of well-formed character data or markup.
via Oracle Community by 843834, 1 year ago
The markup in the document following the root element must be well-formed.
via Stack Overflow by Mad-D
, 2 years ago
The markup in the document following the root element must be well-formed.
via Google Groups by Stephen Turner, 1 year ago
The entity name must immediately follow the '&' in the entity reference.
org.xml.sax.SAXParseException: cos-all-limited.1.2: An ”all” model group must appear in a particle with ‘{‘min occurs’}’='{‘max occurs’}’=1, and that particle must be part of a pair which constitutes the ‘{‘content type’}’ of a complex type definition.
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.