[Petal] Petal 0.82 Released
Jean-Michel Hiver
jhiver at mkdoc.com
Tue Jan 28 12:50:46 GMT 2003
> Ok, this is starting to make more sense now. Sorry for being so ignorant
> of XML; there's just so much time in the day... Anyhow, I tried going to
> the petal namespace url and it is returning a 404 error. Should this be
> happening?
There's been a massive debate about this on various lists... should the
URI namespace return a DTD, an XML schema, a human readable description
or just nothing?
No clear answer. I went for the least effort option: nuthin' ;)
> > And then you can work as usual :-)
>
> Does this example using xmlns:petal mean that if I define this ns I can
> continue to use tags like <?petal:include file="..."?>? I went through
> and removed the petal part of all my tags when v0.8 was released. I'm
> wondering if that wasn't necessary now (and yes, I'm too lazy to go
> looking for your original email <g>).
When you write
<< xmlns:petal="http://purl.org/petal/1.0/" >>
You really say
<< The XML NameSpace (xmlns) "http://purl.org/petal/1.0/" will have the
prefix 'petal'. >>
Because XML PIs do not support namespaces (which discovered when I
decided to implement namespace support), it doesn't make any sense for
them to have a prefix.
Anyway now that we have some kind of XInclude support it's probably time
to write "No XML PIs" templates... I thought it was the main motive for
XIncludes anyway, apart from the fact that the word "XIncludes" sounds
really cool :-)
Cheers,
--
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/
More information about the Petal
mailing list