emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] org-inlinetask produces invalid xhtml
Date: Tue, 09 Aug 2011 11:14:09 +0530	[thread overview]
Message-ID: <81vcu7i1g6.fsf@gmail.com> (raw)
In-Reply-To: <87wrenn4ic.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 08 Aug 2011 20:26:51 +0200")

[-- Attachment #1: Type: text/plain, Size: 487 bytes --]

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Jambunathan K <kjambunathan@gmail.com> writes:
>
>>> Summary: org-inlinetask produces invalid xhtml
>
> I've pushed a fix. Is it correct now?

The problem persists. You can put the exported html file in nxml-mode
and do a C-c C-n to find the validation errors.

I am attaching the two examples and the problematic html segment (marked
with VALIDATION ERROR) here. Note that one of the examples has a list in
the inline task.



[-- Attachment #2: odt-export-bug.org --]
[-- Type: text/plain, Size: 404 bytes --]

* B oscillations
This is Suvayu's example but simplified. Also see the annotation
within the inline task itself.

_Questions_:
*************** Detector effects					 :Qn:
1. How is the Gaussian used for smearing of proper time resolution
   derived? [[http://www.google.com][Google]] this.
2. Why is the proper time error PDF needed? Why is
   smearing of time resolution not enough?
*************** END


[-- Attachment #3: Type: text/plain, Size: 405 bytes --]



#+begin_src nxml
<pre class="inlinetask"><b>Detector effects</b><br />
<ol> <!-- VALIDATION ERROR HERE: Element not allowed in this context -->
  <li>How is the Gaussian used for smearing of proper time resolution
  derived? <a href="http://www.google.com">Google</a> this.
  </li>
  <li>Why is the proper time error PDF needed? Why is
  smearing of time resolution not enough?
  </li>
</ol>
#+end_src


[-- Attachment #4: odt-export-bug1.org --]
[-- Type: text/plain, Size: 470 bytes --]

* B oscillations
This is Suvayu's example but simplified. Also see the annotation
within the inline task itself.

_Questions_:
*************** Detector effects					 :Qn:
Suvayu's example uses lists within inline task. Can the html export
engine produce valid html when the inline task has lists. But honestly
why does a preformatted text looks like a well-formatted html
list. Isn't that strange. Just uncomment the below list and see for
yourself.
*************** END


[-- Attachment #5: Type: text/plain, Size: 968 bytes --]


#+begin_src nxml
<div id="outline-container-1" class="outline-2">
  <h2 id="sec-1"><span class="section-number-2">1</span> B oscillations </h2>
  <div class="outline-text-2" id="text-1">

    <p>This is Suvayu's example but simplified. Also see the annotation
    within the inline task itself.
    </p>
    <p>
      <span style="text-decoration:underline;">Questions</span>:
    </p>


    <pre class="inlinetask"><b>Detector effects</b><br />
    <p> <!-- VALIDATION ERROR: Element not allowed in this context -->
      Suvayu's example uses lists within inline task. Can the html export
      engine produce valid html when the inline task has lists. But honestly
      why does a preformatted text looks like a well-formatted html
      list. Isn't that strange. Just uncomment the below list and see for
      yourself.
    </pre> <!-- VALIDATION ERROR: Missing end-tag "p" -->

  </p></div> <!-- VALIDATION ERROR: Mismatched end-tag -->
</div>
#+end_src


-- 

  reply	other threads:[~2011-08-09  5:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 16:36 [bug] org-inlinetask produces invalid xhtml Jambunathan K
2011-08-08 16:51 ` Jambunathan K
2011-08-08 18:26   ` Nicolas Goaziou
2011-08-09  5:44     ` Jambunathan K [this message]
2011-08-09 11:42       ` Nicolas Goaziou
2011-08-09 21:51         ` Jambunathan K
2011-08-09 23:47           ` suvayu ali
2011-08-11 10:23           ` Nicolas Goaziou
2011-08-11 11:21             ` Jambunathan K
2011-08-11 11:21             ` Jambunathan K
2011-08-11 12:17               ` Nicolas Goaziou
2011-08-11 20:38             ` Jambunathan K
2011-08-16 19:30               ` Bastien
2011-08-16 19:21             ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81vcu7i1g6.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).