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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] namespace markup


How about prefix and localname?  Wouldn't those be considered part of the 
markup, and appropriate class names for tag?

How about a namespace attribute:

  xmlns=http://docbook.org/ns/docbook

Wouldn't that be marked with tag with class="attribute"?  It is part of the 
markup in a document.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Johnson, Eric" <Eric.Johnson@iona.com>
To: "Docbook List" <docbook@lists.oasis-open.org>
Sent: Wednesday, March 07, 2007 1:01 PM
Subject: RE: [docbook] namespace markup


I think Jirka is right. I currently use <uri> for XML namespaces for the
very reasons cited. The namespace is not a tag or a proper part of the
markup.
I do not think that a provision should be made in <tag> for namespaces.
Perhaps it can be added to <uri>'s type attribute...

> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: Wednesday, March 07, 2007 3:52 PM
> To: Bob Stayton
> Cc: Chris Chiasson; Dave Pawson; Docbook List
> Subject: Re: [docbook] namespace markup
>
> Bob Stayton wrote:
> > In DocBook 4.5, the <sgmltag> element has a class attribute with
> > enumerated values.  One of those enumerated values is 'namespace'.
> > For some reason, the equivalent <tag> element in 5.0 is
> missing that
> > value and a few others. I think it is an oversight, and I
> filed an RFE
> > to see if it should get fixed.  So I think this is how a namespace
> > name should be marked up:
> >
> > <tag class="namespace">http://docbook.org/ns/docbook</tag>
>
> I still think that
>
> <uri type="xmlnamespace">http://docbook.org/ns/docbook</uri>
>
> is much more proper way of marking namespace. Namespace
> itself is not "tag", nor other part of markup.
>
> Jirka
>
> --
> ------------------------------------------------------------------
>   Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
> ------------------------------------------------------------------
>        Professional XML consulting and training services
>   DocBook customization, custom XSLT/XSL-FO document processing
> ------------------------------------------------------------------
>  OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member
> ------------------------------------------------------------------
>  Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org






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