You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Maarten Moens (JIRA)" <ji...@apache.org> on 2007/06/04 08:38:35 UTC

[jira] Created: (IVY-521) Allow configuration of custom ivy.xsd

Allow configuration of custom ivy.xsd
-------------------------------------

                 Key: IVY-521
                 URL: https://issues.apache.org/jira/browse/IVY-521
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.4.1
            Reporter: Maarten Moens
            Priority: Minor


Currently it is not possible to use the Extra attributes feature [http://incubator.apache.org/ivy/doc/concept.html#extra] without disabling the schema validation.
It would be useful if one could specify the schema to use for ivy-file validation. Somewhere in the ivy configuration would be a nice.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-521) Allow configuration of custom ivy.xsd

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505066 ] 

Xavier Hanin commented on IVY-521:
----------------------------------

I think it's a good idea to use namespaces for that, they are meant for this kind of thing. I'm not sure if it's possible, but we could even provide an xsd allowing any attribute, so that users could use it in an 'extra' namespace to be able to use extra attributes like this:
{code}
<dependency name="foo" rev="bar" extra:att="baz"/>
{code} 
For those willing to actually validate their extra attributes, using a specific xsd would do the job.

> Allow configuration of custom ivy.xsd
> -------------------------------------
>
>                 Key: IVY-521
>                 URL: https://issues.apache.org/jira/browse/IVY-521
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Maarten Moens
>            Priority: Minor
>
> Currently it is not possible to use the Extra attributes feature [http://incubator.apache.org/ivy/doc/concept.html#extra] without disabling the schema validation.
> It would be useful if one could specify the schema to use for ivy-file validation. Somewhere in the ivy configuration would be a nice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVY-521) Allow configuration of custom ivy.xsd

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504892 ] 

Maarten Coene commented on IVY-521:
-----------------------------------

Hi Maarten :-)

maybe we could work with namespaces. Put all Ivy elements/attributes in the ivy namespace, and put your extra attributes in another namespace and make the XML parser configurable to allow the validation of your custom namespace as well?

I remember a discussion about such solution long time ago, but the old Ivy forums aren't available anymore, so I could't see what was the result of the discussion...

> Allow configuration of custom ivy.xsd
> -------------------------------------
>
>                 Key: IVY-521
>                 URL: https://issues.apache.org/jira/browse/IVY-521
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Maarten Moens
>            Priority: Minor
>
> Currently it is not possible to use the Extra attributes feature [http://incubator.apache.org/ivy/doc/concept.html#extra] without disabling the schema validation.
> It would be useful if one could specify the schema to use for ivy-file validation. Somewhere in the ivy configuration would be a nice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.