Hi Andreas

<edit:schema type="relaxNG" href="../modules/xhtml/schemas/xhtml.rng"/>

When I opened this schema link in the browser I got the following output :


This XML file does not appear to have any style information associated with it. The document tree is shown below.

-
<!--

Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<!--
$Id: xhtml.rng 168097 2005-05-04 07:49:22Z jwkaltz $
-->
<!--+
| XHTML doctype
+-->
-
<!--
+
| Namespaces:
| lenya namespace is required for embedding assets.
+
-->
-
<grammar ns="http://www.w3.org/1999/xhtml";>
-
<!--
include Lenya schema, for Lenya assets within xhtml
-->
<include href="../../../../lenya/schemas/lenya.rng"/>
<!-- include original XHTML basic schema -->
-
<include href="xhtml/xhtml-basic.rng">
-
<!--
change to this to include XHTML transitional schema
<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/xhtml.rng">
-->
-
<!--
change to this to include XHTML strict schema
<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/xhtml-strict.rng">
-->
-
<define name="html">
-
<element name="html">
<ref name="html.attlist"/>
<ref name="head"/>
<ref name="body"/>
</element>
</define>
-
<define name="html.attlist">
<ref name="XHTML.version.attrib"/>
<ref name="I18n.attrib"/>
</define>
</include>
<!-- additional block elements -->
-
<define name="Block.class" combine="choice">
-
<choice>
<ref name="lenya.asset"/>
</choice>
</define>
</grammar>

Please suggest

Thanks & regards
Kamal



Andreas Hartmann wrote:
Hi Kamal,

Kamal schrieb:
I am using mozilla 3.0.8 in ubuntu 8.0.4 (hardy) and tried editing the default firedocs when I clicked on edit it launched the firedocs but after the schema loaded it got stuck and displays the message .

" Validator could not load Schema.There is probably a syntax error in the schema " .

when you look at the document source, you should find a service link:

<link rel="service.edit"
type="application/x.atom+xml"
href="tutorial.html?lenya.usecase=atom.entry"
title="Edit with atompub" />

If you open the link in your browser, you should see an atom entry, containing the link to the schema:

<edit:schema type="relaxNG" href="../modules/xhtml/schemas/xhtml.rng"/>

When you open this schema link in the browser: Does it load a the Relax NG schema, or is there some kind of error?

-- Andreas



I installed the following plugin and java 6.

" libjavaplugin.so" and again getting the above same message and unable to edit through firedocs.

Please suggest.

Regards
Kamal


Vik Tara wrote:
Do you run OpenJDK? If so try to install regular java.

Thanks for the pointer - Fedora uses OpenJDK by default and so the java
plugin for mozilla is the one from OpenJDK.

I'll install Sun and try again!


Vik

Thomas Comiotto wrote:

Hi Vik

Am 08.04.2009 um 13:03 schrieb Vik Tara:

Hi,

This is because the module defaultstyle is located at
..pub/defaultfiredocs/modules/defaultstyle.. but this path was not
included in local.build.properties. I inserted it at
modules.root.dirs=
.. and after the build I could create a document and edit it with
firedocs.
I've tried the same, and have created a page. Clicking on edit launches
firedocs, but it gets stuck at "Schema Loaded".

Any ideas on how to debug this further?
Do you run OpenJDK? If so try to install regular java.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to