[cxml-devel] Bugs in handling namespaces

Sunil Mishra smishra at sfmishras.com
Mon Aug 21 15:27:04 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi David,

Thanks for the fixes, they do address some of the issues I was seeing,
but there's still a problem in my program. I will send you another test
by Wednesday.

Sunil

David Lichteblau wrote:
> Quoting Sunil Mishra (smishra at sfmishras.com):
>> So, here's what I'm seeing when I try to introduce multiple namespaces
>> into an XML document... Note that the final output states the namespaces
>> for both svg and xlink as implicit. Further, implicit namespace
>> declarations are not necessarily applied to attributes.
> 
> Thanks for the reports.
> 
> The namespace normalizer (xml/xmlns-normalizer.lisp) is very new and
> very untested.  In addition, there was a buglet in map-document.
> 
> (It would be quite helpful if you could come up with more test cases for
> the namespace normalizer as a basis for a little test suite!)
> 
>> CL-USER(38): (dom:map-document
>> 	      (cxml:make-namespace-normalizer
>> 	       (cxml:make-octet-stream-sink *standard-output*))
>> 	      svg :include-doctype :canonical-notations)
>> <svg href="#nothing" xmlns="http://www.w3.org/1999/xlink"
>> xmlns="http://www.w3.org/2000/svg"></svg>
> 
> Okay, now that gives:
> <svg NS1:href="#nothing" xmlns="http://www.w3.org/2000/svg" xmlns:NS1="http://www.w3.org/1999/xlink"></svg>
> 
>> <svg xmlns="http://www.w3.org/2000/svg"
>> xmlns:xlink="http://www.w3.org/2000/svg">
  <defs>
    <rect
>> fill="black" height="10" id="default-node-shape" stroke="blue"
>> width="60"></rect>
  </defs>
</svg>
> 
> Fixed that too.
> 
> 
> Please update to CVS and test again.
> 
> 
> Thanks,
> d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6dDIjRnqWMAEf1cRAo/5AJ45y+UQzLKRLJ6o67sIgeO1asUKwACeOtsJ
n3CNp3fLeyNOjTRV9JLs4+M=
=EhSl
-----END PGP SIGNATURE-----



More information about the cxml-devel mailing list