on 03-18-2004 8:40 AM
Hi,
deploying a web application with Struts and Tiles I run in some serious problems with sapxmltoolkit. The same application w/o Tiles deploys and runs fine. Also it works fine with Weblogic.
18.03.2004 09:20:58 org.apache.commons.digester.Digester error
SCHWERWIEGEND: Parse Error at line 0 column -1: Validation Error: com.sap.engine.lib.xml.parser.ParserException: You are probably using a nondeterministic model like (a|b), try to replace it with an equivalent deterministic one, e.g. (a|b)(Unknown Source)
com.sap.engine.lib.xml.parser.NestedSAXParserException: Validation Error: com.sap.engine.lib.xml.parser.ParserException: You are probably using a nondeterministic model like (a|b), try to replace it with an equivalent deterministic one, e.g. (a|b)(Unknown Source)(Unknown Source, row=0, col=-1) -> com.sap.engine.lib.xml.parser.ParserException: You are probably using a nondeterministic model like (a|b), try to replace it with an equivalent deterministic one, e.g. (a|b)(Unknown Source)
at com.sap.engine.lib.xml.parser.dtd.State.searchFor(State.java:28)
regards, maik
Hi Maik,
As noted in 3.2.1 Element Content and Appendix E of the XML Specification, it is required that content models in element type declarations be deterministic.
In a tiles-config.dtd I found on the Internet, there is:
<!ELEMENT putList ( (add* | item* | bean* | putList*)+) >
which causes the error above.
Best regards,
Alexander
Message was edited by: Alexander Zubev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.