Re: lenya bxe problem

Christian Stocker <[email protected]> Fri, 14 Jan 2005 21:10:29 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>

On 14.1.2005 20:59 Uhr, Christoph Hoffmann wrote:
> [snip]
> // >
> // > All formatting has gone and I often get errors like "strong is not
> a
> // > valid child of p" what of course is not true. On startup bxe is
> able to
> // > parse and validate the content doc but then it seems as if it
> forgets
> // > the schema. Also I'm not able to insert anything (linebreaks,
> images,
> // > whatever). All I see is the content of my editable nodes.
> // 
> // I assume, you adjusted the Relax NG part (as it does validate). Can
> you
> //   check, if there are errors in the javascript console? If yes, can
> you
> // tell me them ;)
> 
> 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

> When I hit "enter" nothing happens at all. I can insert text but nothing
> else :(
> 
> // 
> // And you use plain xhtml in the editable fields, right?
> 
> 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

chreguo
-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users