For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > Need info about package.xml 2.0 extends tag









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need info about package.xml 2.0 extends tag
Laurent Laville

2006-05-24, 8:01 am

Greg,

I think this question is for you, but if someone else has already the
answer to my question, feel free to reply.

While i've generated my HTML_Progress2 2.0.1 package, i got a warning
that i don't know "the why"!

---
Warning: Channel validator warning: field "version" - major version x in
x.y.z may not be greater than 1 for any package that does not have an
<extends> tag
---

I've tried to search without success into PEAR manual.
And only APIs getExtends(), setExtends() didn't feed me as i'm expected.

Could you explain a bit more, please .

Laurent
Greg Beaver

2006-05-24, 7:01 pm

Laurent Laville wrote:
> Greg,
>
> I think this question is for you, but if someone else has already the
> answer to my question, feel free to reply.
>
> While i've generated my HTML_Progress2 2.0.1 package, i got a warning
> that i don't know "the why"!
>
> ---
> Warning: Channel validator warning: field "version" - major version x in
> x.y.z may not be greater than 1 for any package that does not have an
> <extends> tag
> ---
>
> I've tried to search without success into PEAR manual.
> And only APIs getExtends(), setExtends() didn't feed me as i'm expected.
>
> Could you explain a bit more, please .


<package version="2.0" ...>
<name>HTML_Progress2</name>
<extends>HTML_Progress</extends>

Regards,
Greg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com