Giter Site home page Giter Site logo

enml4j's People

Contributors

bitdeli-chef avatar pvdlg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

enml4j's Issues

woodstox error

I am testing this component, it runs OK in the demo app. But once I put into webapp, I am keeping on getting this error:

java.lang.RuntimeException: [was class java.net.SocketTimeoutException] Timeout while fetching: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
at org.codehaus.stax2.ri.Stax2EventReaderImpl.throwUnchecked(Stax2EventReaderImpl.java:470)
at org.codehaus.stax2.ri.Stax2EventReaderImpl.next(Stax2EventReaderImpl.java:262)
at com.syncthemall.enml4j.ENMLProcessor.noteToHTML(ENMLProcessor.java:732)
at com.syncthemall.enml4j.ENMLProcessor.noteToHTML(ENMLProcessor.java:385)

Any idea to disable the resolver?

Thanks

Non-breaking space turns to question mark

In converting Notes to HTML, I noticed that any non-breaking spaces ( ), and just spaces that appear inline (as below) are converted to a question mark (?). Is that by design, or is there some way around it? Thanks!

Sample Input Note (notice the space after "Some"):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">
<en-note><div>Some <span><span style="font-size: 14pt;">Text</span></span></div></en-note>

Output (notice the "?" after "Some" and before "Text"):

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"></meta>
<meta content="ENML4J 1.1.0" name="exporter-version"></meta>
<meta content="0.000000" name="altitude"></meta>
<meta content="evernote127" name="author"></meta>
<meta content="Tue Sep 09 17:36:14 MDT 2014" name="created"></meta>
<meta content="0.000000" name="latitude"></meta>
<meta content="0.000000" name="longitude"></meta>
<meta content="Tue Sep 09 17:36:36 MDT 2014" name="updated"></meta>
<title>Non Breaking Space</title>
</head>
<body>
<div>Some?<span><span style="font-size: 14pt;">?Text</span></span></div>
</body>
</html>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.