[
https://issues.apache.org/jira/browse/WICKET-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-3533.
-----------------------------------
Resolution: Cannot Reproduce
Assignee: Igor Vaynberg
appears to work fine here with jekyll 0.10.0 and ruby 1.8.7
{code}
igor@lotus:~/dev/wicket/site/trunk$ ./regenerate.sh
Configuration from /home/igor/dev/wicket/site/trunk/_config.yml
Auto-regenerating enabled: /home/igor/dev/wicket/site/trunk -> ./_site
[2011-03-17 23:04:27] regeneration: 127 files changed
[2011-03-17 23:04:27] INFO WEBrick 1.3.1
[2011-03-17 23:04:27] INFO ruby 1.8.7 (2010-06-23) [i686-linux]
[2011-03-17 23:04:32] INFO WEBrick::HTTPServer#start: pid=7265 port=4000
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET / HTTP/1.1" 200 11663
- -> /
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/screen.css
HTTP/1.1" 200 7619
Referer -> /css/screen.css
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /learn/books/wia.png
HTTP/1.1" 200 147994
Referer -> /learn/books/wia.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/background.gif
HTTP/1.1" 200 251
Referer -> /css/background.gif
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET
/learn/books/praxisbuchwicket.png HTTP/1.1" 200 105604
Referer -> /learn/books/praxisbuchwicket.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /learn/books/kwij.png
HTTP/1.1" 200 146815
Referer -> /learn/books/kwij.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/bg_container.png
HTTP/1.1" 200 301
Referer -> /css/bg_container.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET
/learn/books/wicket-jp.png HTTP/1.1" 200 196768
Referer -> /learn/books/wicket-jp.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/bg_menu.png
HTTP/1.1" 200 4562
Referer -> /css/bg_menu.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/logo.png
HTTP/1.1" 200 23107
Referer -> /css/logo.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET
/learn/books/ewdww.png HTTP/1.1" 200 212095
Referer -> /learn/books/ewdww.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/wicket.png
HTTP/1.1" 200 1153
Referer -> /css/wicket.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/menuknop.png
HTTP/1.1" 200 643
Referer -> /css/menuknop.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET
/learn/books/prowicket.png HTTP/1.1" 200 251742
Referer -> /learn/books/prowicket.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /css/footer.png
HTTP/1.1" 200 4651
Referer -> /css/footer.png
localhost.localdomain - - [17/Mar/2011:23:04:54 PDT] "GET /favicon.ico
HTTP/1.1" 200 1406
- -> /favicon.ico
{code}
> jekyll chokes on nbsp and emdash for Wicket site
> ------------------------------------------------
>
> Key: WICKET-3533
> URL: https://issues.apache.org/jira/browse/WICKET-3533
> Project: Wicket
> Issue Type: Bug
> Components: site
> Affects Versions: 1.5-RC2
> Environment: Ubuntu 10.04.2 LTS
> gem 1.6.2
> classifier (1.3.3)
> directory_watcher (1.3.2)
> fast-stemmer (1.0.0)
> jekyll (0.10.0)
> liquid (2.2.2)
> maruku (0.6.0)
> syntax (1.0.0)
> Reporter: Kent Tong
> Assignee: Igor Vaynberg
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I've checked out the Wicket site from SVN. When I try to run jekyll to
> generate the site and try to access http://localhost:4000/, I got the error
> below, saying Undeclared entity ' ' and '&emdash;'.
> --- error message from jekyll ---
> kent@dragon:~/oss/workspace/wicket-site$ jekyll --server --auto
> Configuration from /home/kent/oss/workspace/wicket-site/_config.yml
> Auto-regenerating enabled: /home/kent/oss/workspace/wicket-site -> ./_site
> [2011-03-13 10:47:02] regeneration: 126 files changed
> [2011-03-13 10:47:02] INFO WEBrick 1.3.1
> [2011-03-13 10:47:02] INFO ruby 1.9.1 (2010-01-10) [i486-linux]
> [2011-03-13 10:47:07] INFO WEBrick::HTTPServer#start: pid=5640 port=4000
> [2011-03-13 10:47:08] ERROR `/' not found.
> ___________________________________________________________________________
> | Maruku tells you:
> +---------------------------------------------------------------------------
> | REXML cannot parse this block of HTML/XML:
> | |<marukuwrap><div id="mvncmd">
> | | <div>
> | | <label for="groupId" title="Base Package">GroupId:</label>
> | | <input type="text" id="groupId" value="com.mycompany"
> onkeyup="changeIt();" /><span title="Base Package"> (?)</span><br />
> | | <label for="artifactId" title="Project
> Name">ArtifactId:</label>
> | | <input type="text" id="artifactId" value="myproject"
> onkeyup="changeIt();" /><span title="Project Name"> (?)</span><br />
> | | <label for="version" title="Wicket Version">Version:</label>
> | | <select id="version" onchange="changeIt();">
> | |
> | |
> | | <option value="1.5-SNAPSHOT">1.5-SNAPSHOT</option>
> | |
> | |
> | |
> | | <option value="1.5-rc2">1.5-rc2</option>
> | |
> | |
> | |
> | | <option value="1.5-RC1">1.5-RC1</option>
> | |
> | |
> | |
> | | <option value="1.4-SNAPSHOT">1.4-SNAPSHOT</option>
> | |
> | |
> | |
> | | <option value="1.4.16"
> selected="selected">1.4.16</option>
> | |
> | |
> | |
> | | <option value="1.4.15">1.4.15</option>
> | |
> | |
> | | </select><span title="Wicket Version"> (?)</span>
> | | </div>
> | | <div>
> | | <label for="cmdLine" id="cmdLabel">Command Line:</label>
> | | <textarea id="cmdLine" onfocus="this.select();">
> | | </textarea>
> | | <script>changeIt();</script>
> | | </div>
> | | <br />
> | |</div></marukuwrap>
> | #<REXML::ParseException: #<RuntimeError: Undeclared entity ' ' in raw
> string " (?)">
> | /usr/lib/ruby/1.9.1/rexml/text.rb:165:in `block in check'
> | /usr/lib/ruby/1.9.1/rexml/text.rb:153:in `scan'
> | /usr/lib/ruby/1.9.1/rexml/text.rb:153:in `check'
> | /usr/lib/ruby/1.9.1/rexml/text.rb:125:in `parent='
> | /usr/lib/ruby/1.9.1/rexml/parent.rb:19:in `add'
> | /usr/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:45:in `parse'
> | /usr/lib/ruby/1.9.1/rexml/document.rb:228:in `build'
> | /usr/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize'
> | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:93:in `new'
> | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:93:in
> `md_html'
> |
> /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:255:in
> `read_raw_html'
> |
> /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:88:in
> `parse_blocks'
> |
> /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:41:in
> `parse_text_as_markdown'
> |
> /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:57:in
> `parse_doc'
> | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/maruku.rb:30:in
> `initialize'
> |
> /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/converters/markdown.rb:108:in
> `new'
> |
> /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/converters/markdown.rb:108:in
> `convert'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/convertible.rb:43:in
> `transform'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/convertible.rb:77:in
> `do_layout'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/page.rb:88:in
> `render'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:147:in
> `block in render'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:146:in `each'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:146:in
> `render'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:81:in
> `process'
> | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/bin/jekyll:153:in `block in
> <top (required)>'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:564:in
> `call'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:564:in
> `block in notify_observers'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:563:in
> `each'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:563:in
> `notify_observers'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:323:in
> `block in initialize'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:224:in
> `call'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:224:in
> `notify'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:102:in
> `run_once'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:150:in
> `run_loop'
> |
> /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:45:in
> `block in start'
> | ...
> | Undeclared entity ' ' in raw string " (?)"
> | Line: 4
> | Position: 228
> | Last 80 unconsumed characters:
> | </span>>
> +---------------------------------------------------------------------------
> !/usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/errors_management.rb:56:in
> `maruku_recover'
> !/usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:97:in
> `rescue in md_html'
> !/usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:85:in
> `md_html'
> !/usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:255:in
> `read_raw_html'
> !/usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:88:in
> `parse_blocks'
> \___________________________________________________________________________
> localhost - - [13/Mar/2011:10:47:08 HKT] "GET / HTTP/1.1" 404 270
> Referer -> /
> Wrapping bad html in a PRE with class 'markdown-html-error'
> |<div id="mvncmd">
> | <div>
> | <label for="groupId" title="Base Package">GroupId:</label>
> | <input type="text" id="groupId" value="com.mycompany"
> onkeyup="changeIt();" /><span title="Base Package"> (?)</span><br />
> | <label for="artifactId" title="Project
> Name">ArtifactId:</label>
> | <input type="text" id="artifactId" value="myproject"
> onkeyup="changeIt();" /><span title="Project Name"> (?)</span><br />
> | <label for="version" title="Wicket Version">Version:</label>
> | <select id="version" onchange="changeIt();">
> |
> |
> | <option value="1.5-SNAPSHOT">1.5-SNAPSHOT</option>
> |
> |
> |
> | <option value="1.5-rc2">1.5-rc2</option>
> |
> |
> |
> | <option value="1.5-RC1">1.5-RC1</option>
> |
> |
> |
> | <option value="1.4-SNAPSHOT">1.4-SNAPSHOT</option>
> |
> |
> |
> | <option value="1.4.16"
> selected="selected">1.4.16</option>
> |
> |
> |
> | <option value="1.4.15">1.4.15</option>
> |
> |
> | </select><span title="Wicket Version"> (?)</span>
> | </div>
> | <div>
> | <label for="cmdLine" id="cmdLabel">Command Line:</label>
> | <textarea id="cmdLine" onfocus="this.select();">
> | </textarea>
> | <script>changeIt();</script>
> | </div>
> | <br />
> |</div>localhost - - [13/Mar/2011:10:47:08 HKT] "GET /favicon.ico HTTP/1.1"
> 200 1406
> - -> /favicon.ico
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira