cancel
Showing results for 
Search instead for 
Did you mean: 

SapXmlToolkit Problems and Tiles

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

zubev
Employee
Employee
0 Kudos

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