RE: lenya bxe problem
"Christoph Hoffmann" <[email protected]> Fri, 14 Jan 2005 21:18:14 +0100
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <8EC4BF020A27D0489FE78F5E5AAF80FF4F81@paula.ENTWICKLER.INTERN.NETZ> |
[snip] // > What should I have adjusted ? (Ich habe lediglich das 1.0.0 Release bei // > lenya eingespielt. Davor gabs immer Fehler a la "thisNode.parentNode // has // > no properties" in bxeFunctions.js. Die sind nun aber weg.) As I said it // > loads my document without complaining and when I markup something and // > try to make it bold it say that "strong" is not allowed as a child of // > main. Some other weired thing is that when I use the "source view" and // > try to switch back without editing anything I get validation errors. // // Maybe it does not validate, but it doesn't complain for whatever reason // about that on startup.. Somethings strange certainly in your setup. I // assume you can edit your document in the one form editor of Lenya. This // should use the same RelaxNG as BXE (AFAIK about lenya) and complain, if // somethings wrong with your RelaxNG file OneForm works fine .. but its not very comfortable ;-) [snip] // > Plain xhtml ?? Thought my schema would define what I can use. So far: // > yes I use xhtml but only partly. I currently allow the Flow.model (out // > of the xhtml relax ng schema definition (text.rng)) as children for my // > editable parts. // > // // Yeah, sure you can use, whatever you want. I just wanted to check, what // you use. // // If possible, can you send me your relaxng and a sample content file. // Maybe I'll spot the error faster this way you got the source xml, two xsl files to transform it (article.xml -> article2xhtml -> page2xhtml -> result) and the schema. skyball -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users
article.rng
(application/octet-stream, 1.6 KB) - not displayed
article.xml
(text/xml, 1 KB)
<?xml version="1.0" encoding="UTF-8"?>
<article
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<lenya:meta>
<dc:title>dctitle</dc:title>
<dc:creator>dccreator</dc:creator>
<dc:subject>dcsubject</dc:subject>
<dc:description>Abstract that can be used on an overview page</dc:description>
<dc:publisher/>
<dc:contributor/>
<dc:date>2003-5-21</dc:date>
<dc:type/>
<dc:format/>
<dc:identifier/>
<dc:source/>
<dc:language>en</dc:language>
<dc:relation/>
<dc:coverage/>
<dc:rights>dcrights</dc:rights>
</lenya:meta>
<head>
<title>Jovala Article</title>
</head>
<main>
<h1>Jovala Article</h1>
<p>THis should be the left main part</p>
<p>THis should be the left main part</p>
</main>
<upper>
<p>This should be the upper part</p>
</upper>
<lower>
<p>This should be the lower part</p>
</lower>
</article>
article2xhtml.xsl
(application/octet-stream, 5.9 KB) - not displayed
page2xhtml.xsl
(application/octet-stream, 3.4 KB) - not displayed