|
Hi Ian, Ian Hickson a écrit : The second sentence is wrong for SVG documents. The SVG specification explains the opposite in http://www.w3.org/TR/SVGMobile12/linking.html#externalReferences.On Wed, 6 Dec 2006, Cyril Concolato wrote:In Section 3.1, "Loading External Resources", the specification says: "The conceptual model is that each resource document is loaded only once; if the same resource document is referenced multiple times directly or indirectly by the same primary document, that resource document is only retrieved and processed one time." If it is just descriptive, since it is wrong, please remove it.But in any case, the XBL spec's negative statement is not normative, it's just descriptive Actually, I think I was wrong when I asked that. I'll explain why. The term "already been loaded" appears three times in the specification and every time about "binding documents". This is correct because the XBL spec cannot specify how resources are handled (shared or not) by other languages. So I would propose to not use the word 'resource' but instead use 'binding document' in that whole section and remove the sentence "Such resource sharing must be limited to resources loaded by a document, its binding documents, its scripts, and its style sheets."(and a consequence of the previous statement, which, as requested above, is now normative). The specification says: "For example, if a document uses a binding document, and its style sheets use that binding document, the same binding document instance will be used for both cases. However, if that document contains an iframe whose document uses the same
binding document, a new instance will be used: the binding document
instance from the outer document is not reused."So in the general case (used in style sheets, referenced with PI, ...) the Document is reused but when it is referenced inside an iframe it is not. That looks like an exception. But I may understand that you mean that when a presentation is made of multiple documents being rendered independently (like in Compound Document by Reference (html:iframe, svg:foreignObject, html:object)), then they do not share the same set of bindings. Am I correct ? Cyril |
- [XBL] Loading External Resources Cyril Concolato
- Re: [XBL] Loading External Resources Ian Hickson
- Re: [XBL] Loading External Resources Cyril Concolato
- Re: [XBL] Loading External Resources Ian Hickson
- Re: [XBL] Loading External Resources Cyril Concolato
- Re: [XBL] Loading External Resources Ian Hickson
