You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/09/07 14:34:21 UTC
[heads-up] Cocoon validation component, changes to resource type
config
Hi Lenya devs,
I removed the custom Lenya validation code, all client classes use
the components from the Cocoon validation block instead.
The schema declaration in the resource type configuration now needs
a language attribute which denotes the kind of schema:
<schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng"
language="http://relaxng.org/ns/structure/0.9"/>
You have to update your configurations accordingly.
For a list of supported schema languages, see
org.apache.cocoon.components.validation.Validator
Note: not for all of these languages, a SchemaParser exists.
Sorry for the inconvenience.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: [heads-up] Cocoon validation component, changes to resource type
config
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> On Wed, 2005-09-07 at 15:26 +0200, Andreas Hartmann wrote:
>
>>Thorsten Scherler wrote:
>>
>>>On Wed, 2005-09-07 at 14:34 +0200, Andreas Hartmann wrote:
>>>
>>>
>>>>Hi Lenya devs,
>>>>
>>>>I removed the custom Lenya validation code, all client classes use
>>>>the components from the Cocoon validation block instead.
>>>>
>>>>The schema declaration in the resource type configuration now needs
>>>>a language attribute which denotes the kind of schema:
>>>>
>>>>
>>>> <schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng"
>>>> language="http://relaxng.org/ns/structure/0.9"/>
>>>>
>>>>
>>>>You have to update your configurations accordingly.
>>>>
>>>
>>>
>>>Which configuration?
>>
>>The resource type configurations
>>(usually xpatch files in <yourpub>/config/).
>
> e.g.
> http://svn.apache.org/viewcvs/lenya/trunk/src/modules/links/config/module.xconf?rev=279311&r1=279310&r2=279311&view=diff
Yes, whereas only the coloured view works in my browser.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: [heads-up] Cocoon validation component, changes to
resource type config
Posted by Thorsten Scherler <th...@apache.org>.
On Wed, 2005-09-07 at 15:26 +0200, Andreas Hartmann wrote:
> Thorsten Scherler wrote:
> > On Wed, 2005-09-07 at 14:34 +0200, Andreas Hartmann wrote:
> >
> >>Hi Lenya devs,
> >>
> >>I removed the custom Lenya validation code, all client classes use
> >>the components from the Cocoon validation block instead.
> >>
> >>The schema declaration in the resource type configuration now needs
> >>a language attribute which denotes the kind of schema:
> >>
> >>
> >> <schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng"
> >> language="http://relaxng.org/ns/structure/0.9"/>
> >>
> >>
> >>You have to update your configurations accordingly.
> >>
> >
> >
> > Which configuration?
>
> The resource type configurations
> (usually xpatch files in <yourpub>/config/).
e.g.
http://svn.apache.org/viewcvs/lenya/trunk/src/modules/links/config/module.xconf?rev=279311&r1=279310&r2=279311&view=diff
cheers
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: [heads-up] Cocoon validation component, changes to resource type
config
Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler wrote:
> On Wed, 2005-09-07 at 14:34 +0200, Andreas Hartmann wrote:
>
>>Hi Lenya devs,
>>
>>I removed the custom Lenya validation code, all client classes use
>>the components from the Cocoon validation block instead.
>>
>>The schema declaration in the resource type configuration now needs
>>a language attribute which denotes the kind of schema:
>>
>>
>> <schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng"
>> language="http://relaxng.org/ns/structure/0.9"/>
>>
>>
>>You have to update your configurations accordingly.
>>
>
>
> Which configuration?
The resource type configurations
(usually xpatch files in <yourpub>/config/).
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: [heads-up] Cocoon validation component, changes to resource
type config
Posted by Thorsten Scherler <th...@wyona.com>.
On Wed, 2005-09-07 at 14:34 +0200, Andreas Hartmann wrote:
> Hi Lenya devs,
>
> I removed the custom Lenya validation code, all client classes use
> the components from the Cocoon validation block instead.
>
> The schema declaration in the resource type configuration now needs
> a language attribute which denotes the kind of schema:
>
>
> <schema src="fallback://lenya/modules/xhtml/schemas/xhtml.rng"
> language="http://relaxng.org/ns/structure/0.9"/>
>
>
> You have to update your configurations accordingly.
>
Which configuration?
salu2
--
Thorsten Scherler
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
thorsten.scherler@wyona.com thorsten@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org