Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jpeg image causing Saxon Exception #157

Closed
wirepatch opened this issue Jul 18, 2022 · 2 comments · Fixed by #159
Closed

Jpeg image causing Saxon Exception #157

wirepatch opened this issue Jul 18, 2022 · 2 comments · Fixed by #159

Comments

@wirepatch
Copy link

Consider:

<informalfigure>
  <mediaobject>
    <imageobject>
      <imagedata fileref="mountain.jpg"/>
    </imageobject>
  </mediaobject>
</informalfigure>

The referenced image: mountain.jpg

Current distributed Python script (based on net.sf.saxon:Saxon-HE:11.3) invocation .../docbook-xslTNG-1.7.1/bin/docbook a.xml -xsl:.../docbook-xslTNG-1.7.1/xslt/docbook.xsl fails producing 666 lines of Java stack trace err.log .

@ndw
Copy link
Contributor

ndw commented Jul 18, 2022

That is very odd. The culprit is here, I think:

Caused by: java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "value" is null

I'll try to make it a priority to look at these issues this week.

@wirepatch
Copy link
Author

I'll try to make it a priority to look at these issues this week.

Cheers! The output results look promising. I'm happy to see this project's progress and look forward for trying the available CSS and other configuration options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants