You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Joshua Wise <jo...@tmctechnologies.com> on 2004/07/27 20:20:50 UTC
Adding Schema to Publication document
I am trying to add a schema definition to a document within a newly created
publication so that it can be edited by Xopus. I keep getting an error with
the namespaces. It comes up as invalid due to incorrect namespace. any
ideas? Here's what I have.
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
dc:dummy="FIXME:keepNamespace"
dcterms:dummy="FIXME:keepNamespace"
lenya:dummy="FIXME:keepNamespace"
xhtml:dummy="FIXME:keepNamespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\ProgrammingApps\
Tomcat\Tomcat5.0\webapps\lenya\lenya\pubs\Class-Help\config\doctypes\
schemas\josh.xsd">
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Adding Schema to Publication document
Posted by Joshua Wise <jo...@tmctechnologies.com>.
Thanks,
That didn't fix it, but it gave me the idea to just clear out all the
namespaces except for the shema's... that works fine.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Adding Schema to Publication document
Posted by Rolf Kulemann <ro...@apache.org>.
On Tue, 2004-07-27 at 19:20, Joshua Wise wrote:
> I am trying to add a schema definition to a document within a newly created
> publication so that it can be edited by Xopus. I keep getting an error with
> the namespaces. It comes up as invalid due to incorrect namespace. any
> ideas? Here's what I have.
>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:dcterms="http://purl.org/dc/terms/"
> xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
> xmlns:xhtml="http://www.w3.org/1999/xhtml"
> dc:dummy="FIXME:keepNamespace"
> dcterms:dummy="FIXME:keepNamespace"
> lenya:dummy="FIXME:keepNamespace"
> xhtml:dummy="FIXME:keepNamespace"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="C:\ProgrammingApps\
> Tomcat\Tomcat5.0\webapps\lenya\lenya\pubs\Class-Help\config\doctypes\
> schemas\josh.xsd">
>
Dunno Xopus so much, but the dummy namespaces are considered harmful.
Try to remove them, but that will break the one form or forms editor.
--
Rolf Kulemann
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org