Hi there!

Guy Voets wrote:
2007/8/14, Carlo Strata <[EMAIL PROTECTED]>:

I only underline that we are loosing my original bug (!) notification
thread.

None has noted over H6 (i.e. H7) tag generation?
Have I to create a new bug issue?

That would be kind, yes. If not well someone else might want to jump in.


Kind regards,

Carlo


<snip>

I agree with you Carlo, the question is: is there a H7 bug in xhtml conversion.
Problem is that tll now, nobody has confirmed (or not) your findings.
Even if nobody verifies your finding, you can file a bug...

Sure? Tought it was clear that it is a bug?


Well the document created states it is using the following DTD
in it´s Document Delaration:

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

that DTD in turn spezifies

<!ENTITY % heading "h1|h2|h3|h4|h5|h6">

but does not specifiy anything like h7, h8, ...

I can confirm that an export with an current OpenOffice.org version will create <h7> etc. elements when something like heading7 has been used and that any XML Validator trying to validate such exported file will burp on that and show an error like:

This file is invalid.
Unexpected element h7


or similar. So yes we surely have a bug here. The XHTML Export should have converted that to something using a custom <font> tag or similar.

See also: http://www.w3.org/TR/xhtml1/


So well go ahead go to http://qa.openoffice.org/issue_handling/pre_submission.html

and create an issue for it. Until now there is none I have searched for it.

Component should be XML, subcomponent code.

If you want to already assign that to an owner use [EMAIL PROTECTED] - that´s Svante Schubert from Sun he´s done lot´s of stuff on the XHTML Export and on XSLT Tranformations in general in OpenOffice.org and might be able to fix that.


More specific information to the bug:
-------------------------------------

The error is in the <xsl:template name="create-heading"> and <xsl:template name="write-heading-number"> methods in the share/xslt/export/xhtml/body.xsl file of the OpenOffice.org installation where everything with an @text:level > 6 must be handled special but isn´t yet.

You might want to add that information too if you like when creating the issue.

[Bernd: Java is installed 1.0.5_07, no custom install, but a Mac
version 2.3 m221]

Well 1.0.5_07 is something pretty old, isn´t it? And well I am surley not sure wether the Mac porters currently already build with --with-jre configured, sorry.


Kind regards,
Bernd Eilers


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to