Hello,
I was trying to make some documentation about CXML, then in regards to the SAX API made avaialable with CXML. I noticed the following, in the documentation string for the generic function SAX:START-ELEMENT :
The attributes parameter is a list (in arbitrary order) of instances of the `attribute' structure class. The for their namespace-uri and local-name properties, the same rules as for the element name apply. Additionally, namespace-declaring attributes (those whose name is "xmlns" or starts with "xmlns:") are only included if *namespace-prefixes* is non-nil.
Having CXML loaded, but I was not able to find a variable named *NAMESPACE-PREFIXES*, in any package.
I have noticed that there is the variable SAX:*NAMESPACE-PROCESSING*. My looking briefly at the CXML source text of a method to SAX:START-ELEMENT, it appeared that that would be the name of the variable to which the documentation string would now refer.
I've made a diff for the matter. The name of the variable in that documentation string is revised, in the diff, and any end-of-line whitespace is removed from the file. XEmacs automaticaly pruned the whitespace, when I wrote the file -- using the 'nuke-trailing-whitespace' lib, here.
Danke
-- Sean Champ
Quoting Sean Champ (gimmal@gmail.com):
I have noticed that there is the variable SAX:*NAMESPACE-PROCESSING*. My looking briefly at the CXML source text of a method to SAX:START-ELEMENT, it appeared that that would be the name of the variable to which the documentation string would now refer.
No, *include-xmlns-attributes*.
Thanks though, fixed.
d.