Skip to Content
author's profile photo Former Member
Former Member

SapXmlToolkit Problems and Tiles

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Mar 18, 2004 at 05:02 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.