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

Re: Thoughts, questions, and issues.



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.

-- 
        Aaron Swartz         |"This information is top security.
<http://swartzfam.com/aaron/>|     When you have read it, destroy yourself."
  <http://www.theinfo.org/>  |             - Marshall McLuhan