[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [syndication] Re: Thoughts, questions, and issues.



Jonathan Eisenzopf <eisen@pobox.com> writes:

> Aaron Swartz wrote:
> > 
> > Jonathan Eisenzopf <eisen@pobox.com> wrote:
> > 
> > > I think people are placing too much emphasis on namespaces and
> > > RDF. When working with a parser, whether it's a regex parser or
> > > an XML parser w/out NS support, dealing with a namespace is only
> > > a matter of looking for a string followed by a colon in the
> > > element name. If you don't care about the namespace, you can
> > > discard it. If you do, you can then reference that element to its
> > > namespace somewhere in an associative array, struct, or object.
> > 
> > I don't see how I can since:
> > 
> > 1) the namespace prefix can be anything
> > 2) the namespace prefix can be defined anywhere, in one of multiple ways
> > 
> > It'd be great if you could show me a regexp that dealt with namespaces.
> > 
> Ok, I'll to put one together in the next couple of days.

Don't forget about the likely name clashes in LocalNames, if that were
not going to be a problem we wouldn't have needed namespaces in the
first place.  :-)

  -- Ken