DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion TOPLEAF: simpletables do not generate correctly

  • jlm05

    TOPLEAF: simpletables do not generate correctly

    Participants 5
    Replies 6
    Last Activity 9 years, 3 months ago

    In our TopLeaf output (currently using XMetaL 7), simpletables do not generate correctly.

    For a simple two-column table, the second cell is indented below the first cell, instead of being next to it, and the last couple of rows always display with a shaded background, which is normally associated with codeblocks but has no place here.

    There doesn't seem to be any stylesheet configuration that would account for it, and we just have regular text in the table cells.

    See the attached PDF to see an example of the output.

    Reply

    tonys

    Reply to: TOPLEAF: simpletables do not generate correctly

    My guess is that this is a problem in the OT pre-processing rather than a TopLeaf issue. You should contact [email protected] if you can't resolve it by looking at the OT logs.

    Reply

    jlm05

    Reply to: TOPLEAF: simpletables do not generate correctly

    If it's the OT pre-processing, then I would expect the simpletable to generate incorrectly in both PDF and WebHelp. But it's fine in the WebHelp output.

    I looked at the build log, and under TopLeaf.SimpleTableConversion, there is an error:

    javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found

    Is that OT-related, or TopLeaf-related?

    Reply

    tonys

    Reply to: TOPLEAF: simpletables do not generate correctly

    The OT is supposed to provide the saxon java classes, so that definitely looks like an OT problem. I assume that this was working before, or works on some machines and not others, so perhaps you can look at differences in the configuration.

    Reply

    jlm05

    Reply to: TOPLEAF: simpletables do not generate correctly

    We now have just started testing XMetaL 8 and TopLeaf, and are getting the following error related to simpletables:

        [exec]
        [exec] TopLeaf.SimpleTableConversion:
        [exec]      [java] Could not find js.SimpleTableConvertor. Make sure you have it in your classpath
        [exec]      [java]            at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:138)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
        [exec]      [java]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        [exec]      [java]            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        [exec]      [java]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        [exec]      [java]            at java.lang.reflect.Method.invoke(Method.java:597)
        [exec]      [java]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        [exec]      [java]            at org.apache.tools.ant.Task.perform(Task.java:348)
        [exec]      [java]            at org.apache.tools.ant.Target.execute(Target.java:392)
        [exec]      [java]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
        [exec]      [java]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        [exec]      [java]            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        [exec]      [java]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
        [exec]      [java]            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        [exec]      [java]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        [exec]      [java]            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        [exec]      [java]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        [exec]      [java]            at java.lang.reflect.Method.invoke(Method.java:597)
        [exec]      [java]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        [exec]      [java]            at org.apache.tools.ant.Task.perform(Task.java:348)
        [exec]      [java]            at org.apache.tools.ant.Target.execute(Target.java:392)
        [exec]      [java]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
        [exec]      [java]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        [exec]      [java]            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        [exec]      [java]            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        [exec]      [java]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        [exec]      [java]            at org.apache.tools.ant.Main.runBuild(Main.java:811)
        [exec]      [java]            at org.apache.tools.ant.Main.startAnt(Main.java:217)
        [exec]      [java]            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        [exec]      [java]            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
        [exec]      [java] Java Result: -1

    So is this still OT-specific? I'm a little confused, since it refers to TopLeaf:SimpleTableConversion.

    Thanks,

    Janice

    Reply

    tonys

    Reply to: TOPLEAF: simpletables do not generate correctly

    I suspect you may be trying to use the old version of the plugin (which only worked with XMetaL 7). This is probably too complicated to answer via this forum, so I suggest contacting [email protected].

    Reply

    tonys

    Reply to: TOPLEAF: simpletables do not generate correctly

    Sending a message to [email protected] will get a more rapid response than using the forum.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support