- From: Paul Grosso <pgrosso@arbortext.com>
- Date: Mon, 21 Feb 2000 12:20:16 -0600
- To: Alex Lopez-Ortiz <alopezo@unb.ca>, www-xml-fragment-comments@w3.org
At 16:55 2000 02 17 -0400, Alex Lopez-Ortiz wrote: >In the examples provided in the WD, the fcs has <p:fragbody/> as >place holder for the selected fragment, however the content itself >is surrounded by tags <p:body> </p:body>, which baffles me. > >Is this part of the specification, i.e. is there an assumed mapping from >fragbody to body? Is it a typo? Would that be defined in XML/Package? >Is it just a convention followed in the example? There is one example in which there are some typos--thank you for pointing them out. The rest of this message expands on things a bit. The XML Fragment Interchange specification normatively describes the syntax and semantics of the fragment context specification in sections 1-6 (formally defined in section 5). All *packaging* information and examples are in the non-normative appendices (B and C), and--as stated therein--are only non-normative suggestions for a possible packaging mechanism. An official packaging mechanism awaits development by the XML Packaging WG which is chartered but not yet constituted. Note that "fragbody" (shown as <f:fragbody> in the examples) is in the fragment interchange namespace defined in section 5, not the "packaging" namespace suggested in appendix B to which p:package and p:body belong. The outline of a possible package shown in appendix B should help make clear (at least in an informal way) the roles of p:package, p:body, f:fcs, and f:fragbody. There is one place in the example in appendix section C.1 where the wrong namespace prefix is used several times. The example at the end of C.1 currently reads (except for some elisions): <?xml version="1.0"?> <p:package xmlns:p="http://acme.com/Packaging/1.0"> <p:fcs xmlns:f="http://www.w3.org/XML/Fragment/1.0" sourcelocn="..."> <transaction> <purchase> <book/> <p:fragbody/> </purchase> </transaction> </p:fcs> <p:body> <book> . . . </book> </p:body> </p:package> Instead, the namespace prefix of "f" (rather than "p") should be used for the <f:fcs>, <f:fragbody>, and </f:fcs> tags. I apologize for the confusion these typos may have caused. paul
Received on Monday, 21 February 2000 13:20:19 UTC