Re: AW: BXE validation problems

Christian Stocker <[email protected]> Mon, 26 Jul 2004 12:01:57 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>

On 26.7.2004 11:55 Uhr, Heintz Peter wrote:

> Thanks for your quick response. This validation problem is gone some how but now I have got an other problem. I just tried to post it to the lenya user group but I received an mail delivery failure.
> 
> My problem now. 
> 
> I can load my sample file in bxe without any message but the JavaScript Console lists the following error
> 
> Error: startElement has no properties
> Source File: http://localhost...../releaNG.js  Line: 300

there's no <start> tag in the first rng file. AFAIK it needs one. Try 
adding it.

To see, if BXE did actually the right thing, there's a "Show RNG 
Document" in the Debug menu. It should show you the full merged rng 
document. If it doesn't, something went wrong in the first place.


> 
> Trying to save the document gives me the following message:
> 
> Error: this.ownerDocument.vdom.firstChild has no properties
> Source File: http://localhost...../NodeVal.js Line 232

yep, that's an error, 'cause it couldn't load the rng file (or better 
said, it couldn't parse it)

HTH

chregu


> 
> I am not having a CSS file so far so the content seem to be listed in default style. But I also wonder why I only can select the root element and no sub-elements in bxe.
> 
> Here are my actual files.
> 
> 
> 
> The first error I try the reproduce and to send you later.
> 
> -----Ursprüngliche Nachricht-----
> Von: Christian Stocker [mailto:[email protected]] 
> Gesendet: Montag, 26. Juli 2004 11:25
> An: Heintz Peter
> Cc: [email protected]
> Betreff: Re: [bx-editor-users] BXE validation problems
> 
> Hi Peter
> 
> (your mail was in the "to be approved" queue...)
> 
> 
> 
> On 22.7.2004 17:16 Uhr, Peter Heintz wrote:
> 
> 
>>I am trying to use bxe within lenya to edit a forrest document file. So I 
>>converted the forrest DTD in RELAXNG. To get a root element I just created the 
>>following additional RELAXNG file:
>>
>><?xml version="1.0" encoding="UTF-8"?>
>>
>><grammar xmlns="http://relaxng.org/ns/structure/1.0">
>>  <include href="document-v12.mod.rng"/>
>>
>>  <start>
>>	<ref name="document"/>
>>  </start>
>></grammar>
> 
> 
> Can you send me (or put online somewhere) all your relaxng-files and a 
> sample xml document?
> It's hard to debug this way ;)
> 
> thanks
> 
> chregu
> 
> 
>>Validation my example document with jing does not indicate a validation problem 
>>but withing bxe I always get the message that header and body elements are not 
>>allowed as child of the document root element. Any ideas are welcome.
>>
>>Versions:
>>BXE 0.9.5
>>Lenya 1.2
>>
>>
>>Thanks in advance!
>>Peter
>>
> 
> 

-- 
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