Wendell Piez writes:
> Actually, according to http://www.w3.org/TR/1999/REC-xml-names-19990114/
> (the XML Namespaces Rec), they can.
whoops
> I won't opine whether it's you or someone else who's going mad.
I'll up the drug dosage again
> But I'm not sure what Dieter wants to do with namespaces that he needs an
> amended DTD for.
Dieter said he wanted to do this:
<tei2:name tei2:type="city"
myExtension:country="Germany">Bamberg</tei2:name>
We _could_ re-express that as
<name xmlns="http://www.tei-c.org" type="city">
<country xmlns="foo.bat">Germany</country>Bamberg</name>
and (eg) an XSLT specification would handle it appropriately. Of
course, its not valid against a normal TEI DTD, but that has to go out
the door whatever happens.
I suspect we need Dieter to expound the problem in more detail to see
whether namespaces solve the problem. Lou's suggestion of simply
extending the DTD does not fly, in my view, because of the need to
record the origin of the extensions by namespace.
Sebastian
|