[ expat-Bugs-918730 ] namespace uri's arent checked for an ending hash

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #918730, was opened at 2004-03-18 14:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=918730&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jasper (jaspervdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: namespace uri's arent checked for an ending hash

Initial Comment:
With a document like this (made much shorter):
<rdf:RDF xmlns:rdf =
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc  = "http://purl.org/dc/elements/1.1/"
         xmlns:mm  = "http://musicbrainz.org/mm/mm-2.1#">
  <mm:Artist
rdf:about="http://musicbrainz.org/artist/88a6037e-87ba-492a-a54c-c927aa620cb8">
    <dc:title>Earth Crisis</dc:title>
  </mm:Artist>
</rdf:RDF>
The element types are resolved as follows (namespace
separator is set to a hash):
  rdf:RDF ->
http://www.w3.org/1999/02/22-rdf-syntax-ns##RDF
  mm:Artist -> http://musicbrainz.org/mm/mm-2.1##Artist
  dc:title -> http://purl.org/dc/elements/1.1/#title
As far as I know that&#039;s not how it should be (having
two hashes as separator in the first two cases). For my
purpose I fixed it by modifying addBinding (in
xmlparse.c) to check whether the namespace URI already
ends in a hash.
I am using version 1.95.7.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=918730&group_id=10127
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.