Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • IIRC, http://purl.org/atom/ns [purl.org] is the namespace for the 0.3 (i.e draft) spec. The 1.0 namespace is http://www.w3.org/2005/Atom [w3.org]. The following will generate a feed with the 1.0 namespace:

    XML::Atom::Feed->new( Version => 1.0 )

    • I was testing with Atom 0.3 :)

      As it happens one of the recommended ways to switch to Version 1.0 ($XML::Atom::DefaultVersion = "1.0";) doesn't work either :(

  • XML namespaces use URIs as identifiers – Uniform Resource Identifiers. URIs need not actually be resolvable to anything. Even if a URI starts with the “http:” scheme, that means nothing more than that HTTP ownership rules apply; it does not mean there has to be a page there if you actually try to dereference the URI. (HTTP ownership rules are that whoever owns the DNS for the host part of the HTTP URI can mint new HTTP URIs with that host part.)

    There used to be a distinction such that UR

    • I think you missed the main point of the post. The PURL, as in Persistent URL, didn't exist.

      I know the difference between a URL and a URI. The fact that a URI didn't resolve didn't prompt the post. The fact that it used a supposedly persistent address did ;)