netbsd-docs@netbsd.org
[Top] [All Lists]

Re: xsltproc complains about invalid XML namespace URI

Subject: Re: xsltproc complains about invalid XML namespace URI
From: Hiroki Sato
Date: Sun, 29 May 2005 19:53:24 +0900 JST
Klaus Heinz <k.heinz.mai.fuenf@xxxxxxxxxxxxx> wrote
  in <20050523221640.GC549@xxxxxxxxxxxxxxxxxxx>:

k.> When I use this stylesheet I get
k.> 
k.>   parser warning : xmlns:gmane: 'Lookup table for gmane groups' is not a
k.>   valid URI
k.>                 xmlns:gmane="Lookup table for gmane groups"
k.> 
k.> Obviously, I should use a real URI. Is it ok to use the prospective
k.> location of the document on www.NetBSD.org
k.> 
k.>   http://www.NetBSD.org/MailingLists/gmane.xsl
k.> 
k.> ?

 It works, but I think it is better to separate URLs
 for namespace by using another prefix "xmlns" like this:

 http://www.NetBSD.org/XML/xmlns/<name>/<version>

 For newsgroups in list2group.xsl,
 http://www.NetBSD.org/XML/xmlns/newsgroups/1.0 should be enough.

-- 
| Hiroki SATO
<Prev in Thread] Current Thread [Next in Thread>