[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: What is wrong with SVG?
>I tried to convert the paths (used quite often in the figures) >into elements and I got an explosion of elements and a huge >DOM. But with the actual format the number of nodes seems >reasonable. The node explosion you encountered is actually quality of DOM implementation issue. Most DOM implementations build nodes as XML data is parsed, not when they are accessed. SVG DOM's custom path data access interfaces has similar effects. One difference I notice is that SVG's non-node objects are not part of the document tree. Changing x and y values of a path's SVGPoint will not affect the path. This approach prevents node explosion at the cost of having to instantiate fresh copy of value for each access. However, read-only version of SVG DOM should have this problem. Considering all this, I think that the decision made by SVG WG not to use elements for path segments is close to the 80/20 point. I still do not agree with the decision to use attribute. Best, Don Park - mailto:donpark@d... Docuverse - http://www.docuverse.com *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|