On 3/31/06, A. Pagaltzis <
pagaltzis@xxxxxx> wrote:
No. That is only a problem if you just mash markup together
without taking care to preserve base URIs by adding xml:base
at the junction points as necessary.
Well yeah... but again, pick a planet, any planet. ;)
I guess thats kind of my point... Even those of us who make code both our life and our livelyhood have continued to run into too many issues, and have just given up, or simply decided "Lets just wait til' Atom releases and then build our systems from the Atom feeds provodide by the same folks. In fact, it seems to me that this might be the exact thing taking place, as I seem to be noticing that the overall quality has been getting better as of late.
That said, I'm not sure if my concerns are founded on much of anything beyond trying to ensure that the little things that might get in the way can be cleared up and simply not be an issue any longer.
As such, if all thats been proven is that my comments and base:concerns are in fact comptetely off base... ;)
SWEET!!! :D
Copying an atom:entry from one feed to another correctly requires
that you query the base URI which is in effect in the scope of
the atom:entry in the source feed, and add an xml:base attribute
to that effect to the copied atom:entry in the destination feed.
If you do this, any xml:base attributes within the copy of the
atom:entry will continue to resolve correctly.
Yeah, I can totally see that... In fact I am trying to pull together some XSLT 2.0
transform code that can be used to, in essence, canonicalize the usage of xml:base and the associated URI's, and if I can get a solid hour this morning to finish it off, then I will post the location to this thread so you all can tear it to pieces, such that we quicly develop a simple utlity that can be pushed out to the masses to build a local cache, and keep the base and relative URI pristine clean.
This all relates to both the ChannelXML and AtomicRSS code that are my current areas of focus, so
It's much easier to get right than copying markup without
violating namespace-wellformedness, even.
I agree. As long as all of the proper URI's are in place, is just a matter of determining the proper base value in regards to the URI's that each will relate to, and for the most part be able to call it good.
You up for PowerHack ExtremeXSLT session sometime in the next few hours? :D
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>