[Xcb] The import statement

Marcos Roriz marcosrorizinf at gmail.com
Wed Dec 15 16:01:00 PST 2010


Thanks for the fast reply :D

2010/12/15 Peter Harris <pharris at opentext.com>

> On 2010-12-15 18:32, Marcos Roriz wrote:
> > Hi,
> > I'm making a simple parser for the xmls in the xcb (in java :D) and
> > I'm a little confused about the <import> statement, what does it mean?
> > Does it mean that the .xml extension inheris the file types?????
>
> Yes.
>
> For example, render.xml does an <import>xproto</import> so that it can
> use RECTANGLE, VISUALID and etc types (which are defined in xproto.xml).
>
> The most complex example is in glx.xml. There exists a PIXMAP type in
> both xproto.xml (imported) and in glx.xml. It uses the fully qualified
> types "glx:PIXMAP" and "xproto:PIXMAP" to disambiguate. Most uses of
> import don't have any name collisions, though.
>
> Peter Harris
> --
>               Open Text Connectivity Solutions Group
> Peter Harris                    http://connectivity.opentext.com/
> Research and Development        Phone: +1 905 762 6001
> pharris at opentext.com            Toll Free: 1 877 359 4866
>



-- 
Marcos Roriz
Bacharelando em Ciência da Computação
Universidade Federal de Goiás

E-mail: marcosrorizinf at gmail.com
Home Page: http://marcosroriz.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20101215/044ac559/attachment.htm>


More information about the Xcb mailing list