Hi all,

I propose to change the RelaxNG validation file sitemap-v06.rng in this way:
Component declaration like <map:generator>, <map:transformer>, <map:serializer>, and 
similars would need to be:

        <define name="map.generator">
                <element name="map:generator">
                        <ref name="map.generator.attlist"/>
                        <ref name="component.config"/>
                </element>
        </define>

where component.config is defined as

        <define name="component.config">
                <zeroOrMore>
                        <element>
                                <anyName>
                                        <except>
                                                <nsName 
ns="http://apache.org/cocoon/sitemap/1.0"/>
                                        </except>
                                </anyName>
                                <zeroOrMore>
                                        <attribute>
                                                <anyName>
                                                        <except>
                                                                <nsName 
ns="http://apache.org/cocoon/sitemap/1.0"/>
                                                        </except>
                                                </anyName>
                                        </attribute>
                                </zeroOrMore>
                                <choice>
                                        <ref name="config"/>
                                        <text/>
                                </choice>
                        </element>
                </zeroOrMore>
        </define>

That is, to allow any configuration content.  If we make it too restrictive, what 
about custom components setup?.

What do you think about this?

David

*************************************************************
Este correo ha sido procesado por el Antivirus del Grupo FCC.
*************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to