Hi Martin,
On Wed, Aug 27, 2008 at 4:36 AM, Martin Grotzke
<martin.grotzke_at_freiheit.com> wrote:
> Hi Imran,
>
> On Mon, 2008-08-25 at 20:09 +0600, Imran M Yousuf wrote:
[snip]
>> >
>> >> Additionally the schema file seemed to
>> >> referred to from the wadl rather than including its content.
>> >>
>> >
>> > Yes, we either need to include the XSD or make sure it can be referenced
>> > relative to the base URI. BTW if you generate the application.html it does
>> > have XSD embedded but it is making use of xsltproc.
>>
>> I am not making use of xsltproc instead I am using the
>> xml-maven-plugin. I am using the following configuration for the
>> transformation. Shouldn't the output be same?
> With xsltproc the xsd files have to be in the same directory as the wadl
> file so that xsd stuff is included in the output (if specified like you
> did in the grammars element). Perhaps you can copy the xsd file to
> appropriate location and add it to the includes...
The XSD and WADL are both in ./target/classes/ folder thats how I
generated the schema1.xsd. If the path is not correct the wadl
generator usually throws an error :). As mentioned by Paul I will try
to generate using xsltproc once I get the qname properly set. and then
check again :).
Thanks,
Imran
>
> Cheers,
> Martin
>
--
Imran M Yousuf
Email: imran_at_smartitengineering.com
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557