Cheking at your errors, witch I can reproduce locally, but any way I found:


`callback' in `class' error, means a delegate declared in a class
namespace, which is valid, but an error is raised.

`field' in `namespace' error, means a globally declared variable make
public.


While in Vala both are Ok, GObject Introspection doesn't complaints about
them: Is this a valadoc bug?


I've made some changes in GXml to fix this, but one of it (hiding global
variable) requires an API changes, suitable to happen in next 0.12, but not
in 0.10. While may be this API change should be considered minor, most
users of GXml relays on legacy DOM support and if they are checking errors
by this global variable, we are in troubles.

I really wants GXml 0.10 added to valadoc.org or alternate sites, while I
release 0.12 version. Please consider this questions and make me know if is
my fault.


2016-06-06 10:40 GMT-05:00 Chris Daley <chebiza...@gmail.com>:

> Hi Daniel,
>
> This is the error I get when I try to build Valadoc with the GXml-0.10.gir:
>
> valadoc --target-glib 2.99 --driver "0.32" --importdir girs --doclet "."
> -o "tmp/gxml-0.10" "girs/vala/vapi/gxml-0.10.vapi" --vapidir
> "girs/vala/vapi" --girdir "girs/gir-1.0"  --importdir "girs/gir-1.0"
> --import GXml-0.10 --wiki documentation/gxml-0.10/wiki
>
> (valadoc:279): GLib-CRITICAL **: g_str_has_suffix: assertion 'str != NULL'
> failed
>
> ** (valadoc:279): CRITICAL **:
> valadoc_importer_gir_documentation_importer_attach_comment: assertion
> 'cname != NULL' failed
> /home/valadoc/girs/gir-1.0/GXml-0.10.gir:5641.3-5641.78: error: unknown
> child element `callback' in `class'
> <return-value transfer-ownership="full">
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/valadoc/girs/gir-1.0/GXml-0.10.gir:10483.2-10483.32: error: unknown
> child element `field' in `namespace'
> <type name="GXml.DomException" c:type="GXmlDomException"/>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Cheers
> Chris
>
>
> 2016-06-06 7:52 GMT-07:00 Daniel Espinosa <eso...@gmail.com>:
>
>> Valadoc.org and its alternatives doesn't load GXml package, could anyone
>> point how can help to fix it?
>> El jun. 6, 2016 9:34 AM, "Ben Iofel" <iofel...@gmail.com> escribió:
>>
>> > For now you may use this mirror with working search:
>> > http://valadoc.valadate.org
>> >
>> > On Mon, Jun 6, 2016 at 6:08 AM Ulink <ul...@gmx.at> wrote:
>> >
>> > > Hi,
>> > >
>> > > valadoc.org seems online again, but if one type something into the
>> > > search field, it shows:
>> > >
>> > > 'Query failed: (0)s'
>> > >
>> > > Is someone able to fix this?
>> > >
>> > > --
>> > > Bernhard
>> > > _______________________________________________
>> > > vala-list mailing list
>> > > vala-list@gnome.org
>> > > https://mail.gnome.org/mailman/listinfo/vala-list
>> > >
>> > _______________________________________________
>> > vala-list mailing list
>> > vala-list@gnome.org
>> > https://mail.gnome.org/mailman/listinfo/vala-list
>> >
>> _______________________________________________
>> vala-list mailing list
>> vala-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/vala-list
>>
>
>
>
> --
> Chris Daley
> Pacific Northwest
>
> e: chebiza...@gmail.com
> w: http://chrisdaley.biz
> m: +1-971-703-9251
> s: chebizarro
> tw: chebizarro
> tz: PDT
>
>


-- 
This electronic message may contain privileged and confidential information
intended only for the use of the addressees named above.  If you are not
the intended recipient of this email, we kindly ask you to delete this
message and any attachment. You are hereby notified that any use,
dissemination, distribution, reproduction of this email is prohibited.  If
you have received this email in error, please notify sender immediately.

Any document, image or any other form of electronic representation of any
work attached to this email, is suitable to be protected by copyright
enforcement by applicable law in your or sender's Country's and
International Legislation

Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los
cuates: LIBRE)
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to