It's the namespace that the android framework resources live in.  It's just
a namespace, but if you change the namespace, you totally change the meaning
of the XML file because by definition all attributes that were in the old
namespace have changed their identity to something unrelated in a different
namespace.

On Mon, Sep 28, 2009 at 4:25 PM, Mihai Fonoage <fonoag...@gmail.com> wrote:

>
> But if I change the identifier to something else, it does not work,
> hence the "http://schemas.android.com/apk/res/android"; value of the
> namespace has to have some kind of (internal) meaning. I get though
> that the validity of the attributes is based on the parent element (as
> per my understanding), but this does not explain why it will not work
> with a value of "http://mihai/fonoage"; for example.
>
> Thank you,
> Mihai Fonoage
>
> On Sep 28, 7:09 pm, Romain Guy <romain...@google.com> wrote:
> > There is no schema, this is just an identifier for the namespace.
> >
> > On Mon, Sep 28, 2009 at 4:04 PM, Mihai Fonoage <fonoag...@gmail.com>
> wrote:
> >
> > > Hi,
> >
> > > The Android XML Schema is declared in the xml files as being at
> > > "http://schemas.android.com/apk/res/android";. Since this URL is not
> > > found, how does Android validate the xml attributes that are in the
> > > Android namespace? I am guessing the schema file comes bundled with
> > > the SDK, in which case where is it located?
> >
> > > Thank you,
> > > Mihai Fonoage
> >
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to