lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Need way to create element with self declared namespace #522

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See attached file and tag below.
There is a tag that has the rdf: prefix which is not declared on the root svg 
tag. If one wanted to create this tag with JavaScript, then it would not be 
possible with SVG Web because it would create this as a native Element, not an 
SVG Web _Element. 

<rdf:RDF xmlns="http://web.resource.org/cc/" 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

It may be that the element actually is a xhtml element, so there is no way to 
know for sure. The pattern in SVG Web has been to add an argument to the 
function to indicate whether the element is for SVG or not and so that is the 
proposed solution.

Original issue reported on code.google.com by grick23@gmail.com on 22 Jun 2010 at 3:37

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r1195.

Original comment by grick23@gmail.com on 22 Jun 2010 at 5:01