You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Roussel (JIRA)" <ji...@codehaus.org> on 2007/10/04 12:57:10 UTC

[jira] Commented: (DOXIA-136) Create an FML DTD or XSD

    [ http://jira.codehaus.org/browse/DOXIA-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108997 ] 

David Roussel commented on DOXIA-136:
-------------------------------------

Herve,

You can use the XML Schema any tag to define a wildcard

See: http://www.xml.com/pub/a/2002/11/20/schemas.html?page=4#wildcards

Given that most people won't be using namespaces with their XML, then you should allow any namespace in the any tag.

e.g.

{code:xml} 
<xs:element name="answer">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="blah" type="xs:string"/>
      <xs:any minOccurs="0" processContents="skip" namespace="##other" />
    </xs:sequence>
  </xs:complexType>
</xs:element>
{code} 

> Create an FML DTD or XSD
> ------------------------
>
>                 Key: DOXIA-136
>                 URL: http://jira.codehaus.org/browse/DOXIA-136
>             Project: Maven Doxia
>          Issue Type: Task
>          Components: Module - Fml
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>             Fix For: 1.0-beta-1
>
>         Attachments: DOXIA-136.diff
>
>
> Review the M1 FAQ schema is certainly a good start.
> http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd

-- 
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