Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • 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 comment
    10|10000 characters needed characters exceeded