You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org> on 2005/07/19 20:17:48 UTC

[jira] Commented: (JELLY-173) Support for XML Schema

    [ http://issues.apache.org/jira/browse/JELLY-173?page=comments#action_12316141 ] 

Paul Libbrecht commented on JELLY-173:
--------------------------------------

Felipe, now the following works, I presume that should satisfy your wish, or?

<foo
      xsi:schemaLocation="foo_ns maven-project.xsd"
      xmlns="foo_ns"
      xmlns:base="base_ns"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

also the following has been implemented thanks to the patches of Diogo Quintela:
   <x:element name="blop">
	<x:attribute name="xsi:schemaLocation" 
	  URI="http://www.w3.org/2001/XMLSchema-instance"
		>foo_ns maven-project.xsd</x:attribute>
  </x:element>

One of them should help you, or ? Then please resolve issue.
thanks

paul

> Support for XML Schema
> ----------------------
>
>          Key: JELLY-173
>          URL: http://issues.apache.org/jira/browse/JELLY-173
>      Project: jelly
>         Type: New Feature
>   Components: taglib.xml
>     Reporter: Felipe Leme

>
> There is a bug on the maven-ear-plugin regarding support to genera
> In order to fix a maven-ear-plugin bug (http://jira.codehaus.org/browse/MPEAR-30), I need to generate a XML-Schema based XML document, but looks like the taglib doesn't allow it.
> I can see 2 possible solutions:
> 1.Add more attributes to the <x:element> tag. Example:
> <x:element name="application" xmlns="http://java.sun.com/xml/ns/j2ee"
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>              xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
>              version="1.4">
> 2.Create a new tag specifically for this purpose. Example:
> <x:schemaRoot name="application" xmlns="http://java.sun.com/xml/ns/j2ee"
>              xsi="http://www.w3.org/2001/XMLSchema-instance"
>              schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
>              version="1.4">
> If there is another alternative, please let me know.
> -- Felipe

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org