OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] xml:id xl:href namespace declarations

> -----Original Message-----
> From: chris.chiasson@gmail.com 
> Is it wrong to use these attributes in a DocBook 5 document when I
> haven't declared these namespaces? The DocBook schema references the
> namespaces, but oXygen plays dumb on content completion from them
> unless I add the namespaces to the source.
> Like so:
> <chapter xml:id="blahblah"
> 	xmlns="http://docbook.org/ns/docbook";
> 	xmlns:xl="http://www.w3.org/1999/xlink";
> 	xmlns:xml="http://www.w3.org/XML/1998/namespace";
> 	version="5">

It should not be necessary to declare the namespace with the 'xml:' prefix
anywhere (since it is a special predeclared prefix). So the xml:id behaviour
seems like a Oxygen quirk.

The XLink namespace must always be declared if you want to use it.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]