[jira] Created: (MODELLO-206) improve generated XML schema for content

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (MODELLO-206) improve generated XML schema for content

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

improve generated XML schema for content
----------------------------------------

                 Key: MODELLO-206
                 URL: http://jira.codehaus.org/browse/MODELLO-206
             Project: Modello
          Issue Type: Improvement
          Components: modello-plugin-xml
    Affects Versions: 1.0.2
            Reporter: Herve Boutemy


actually, generated schema is like
{code:xml}
<xs:complexType name="Author" mixed="true">
  <xs:all/>
  <xs:attribute name="email" type="xs:string"/>
</xs:complexType>
{code}

would be more precise to generate
{code:xml}
<xs:complexType name="Author">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="email" type="xs:string"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
{code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MODELLO-206) improve generated XML schema for content

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MODELLO-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MODELLO-206:
----------------------------------

    Fix Version/s: 1.1

> improve generated XML schema for content
> ----------------------------------------
>
>                 Key: MODELLO-206
>                 URL: http://jira.codehaus.org/browse/MODELLO-206
>             Project: Modello
>          Issue Type: Improvement
>          Components: modello-plugin-xml
>    Affects Versions: 1.0.2
>            Reporter: Herve Boutemy
>             Fix For: 1.1
>
>
> actually, generated schema is like
> {code:xml}
> <xs:complexType name="Author" mixed="true">
>   <xs:all/>
>   <xs:attribute name="email" type="xs:string"/>
> </xs:complexType>
> {code}
> would be more precise to generate
> {code:xml}
> <xs:complexType name="Author">
>   <xs:simpleContent>
>     <xs:extension base="xs:string">
>       <xs:attribute name="email" type="xs:string"/>
>     </xs:extension>
>   </xs:simpleContent>
> </xs:complexType>
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MODELLO-206) improve generated XML schema for content

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MODELLO-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MODELLO-206:
----------------------------------

    Description:
actually, generated schema is like
{code:xml}
<xs:complexType name="Author" mixed="true">
  <xs:all/>
  <xs:attribute name="email" type="xs:string"/>
</xs:complexType>
{code}

would be more precise to avoid the {{<xs:all/>}} part but generate
{code:xml}
<xs:complexType name="Author">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="email" type="xs:string"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
{code}

  was:
actually, generated schema is like
{code:xml}
<xs:complexType name="Author" mixed="true">
  <xs:all/>
  <xs:attribute name="email" type="xs:string"/>
</xs:complexType>
{code}

would be more precise to generate
{code:xml}
<xs:complexType name="Author">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="email" type="xs:string"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>
{code}


> improve generated XML schema for content
> ----------------------------------------
>
>                 Key: MODELLO-206
>                 URL: http://jira.codehaus.org/browse/MODELLO-206
>             Project: Modello
>          Issue Type: Improvement
>          Components: modello-plugin-xml
>    Affects Versions: 1.0.2
>            Reporter: Herve Boutemy
>             Fix For: 1.1
>
>
> actually, generated schema is like
> {code:xml}
> <xs:complexType name="Author" mixed="true">
>   <xs:all/>
>   <xs:attribute name="email" type="xs:string"/>
> </xs:complexType>
> {code}
> would be more precise to avoid the {{<xs:all/>}} part but generate
> {code:xml}
> <xs:complexType name="Author">
>   <xs:simpleContent>
>     <xs:extension base="xs:string">
>       <xs:attribute name="email" type="xs:string"/>
>     </xs:extension>
>   </xs:simpleContent>
> </xs:complexType>
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MODELLO-206) improve generated XML schema for content

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MODELLO-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MODELLO-206:
----------------------------------

    Fix Version/s:     (was: 1.1)
                   1.2

> improve generated XML schema for content
> ----------------------------------------
>
>                 Key: MODELLO-206
>                 URL: http://jira.codehaus.org/browse/MODELLO-206
>             Project: Modello
>          Issue Type: Improvement
>          Components: modello-plugin-xml
>    Affects Versions: 1.0.2
>            Reporter: Herve Boutemy
>             Fix For: 1.2
>
>
> actually, generated schema is like
> {code:xml}
> <xs:complexType name="Author" mixed="true">
>   <xs:all/>
>   <xs:attribute name="email" type="xs:string"/>
> </xs:complexType>
> {code}
> would be more precise to avoid the {{<xs:all/>}} part but generate
> {code:xml}
> <xs:complexType name="Author">
>   <xs:simpleContent>
>     <xs:extension base="xs:string">
>       <xs:attribute name="email" type="xs:string"/>
>     </xs:extension>
>   </xs:simpleContent>
> </xs:complexType>
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email