W dniu 12 grudnia 2010 23:42 użytkownik Jon Cruz <jon@...18...> napisał:
But what would be most helpful is looking over to figure out the clean ways to change the code so that such access is no longer exposed to begin with.
Off the top of my head, the largest problem is that there is no way to create a specific SPObject and add it to the tree. We need to create an XML representation of this object, insert it into the XML tree and rely on the XML tree observers to automatically create the corresponding SPObject for us. Therefore each of the shape tools needs to know how its products are represented in SVG markup, while in the ideal situation only the given shape's SPObject implementation should know this. Solving this would go 90% of the way towards making XML private.
Regards, Krzysztof