[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lenya-user
Subject:    Re: How to insert a <script> tag in the Lenya pages?
From:       Joern Nettingsmeier <nettings () folkwang-hochschule ! de>
Date:       2006-11-02 22:00:26
Message-ID: 454A6A7A.3080703 () folkwang-hochschule ! de
[Download RAW message or body]

Richard Frovarp wrote:
> Joern Nettingsmeier wrote:
>> James Sun wrote:
>>> Hello guys,
>>>
>>> I just wonder which existing editor that I can use to insert a 
>>> <script> tag for some javascript codes? I used one Form to insert 
>>> several lines of javascript but it fails to validate <script> tag 
>>> when I saved the page. The editors I have now include Kupu, BXE,one 
>>> Form, Forms, but I don't think any of them supports validating 
>>> <script> tag.
>>
>> i was going to write "modify 
>> src/modules/xhtml/resources/schemas/xhtml.rng accordingly", but it 
>> already does include the script tag as both an inline and a block 
>> level element. can somebody explain why it is not validated?
> 
> You need to get src/modules/xhtml/resources/schemas/xhtml.rng to use 
> either src/modules/xhtml/resources/schemas/xhtml/xhtml.rng or 
> src/modules/xhtml/resources/schemas/xhtml/xhtml-strict.rng, both of 
> which are commented out by default in the file you mentioned. Make sure 
> to comment out the xhtml-basic line and uncomment the line you want.

thanks for the clarification - i overlooked the extra step...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic