Hi BJ, thanks for your information,
BJ Hargrave wrote: > > See http://www.w3.org/TR/xmlschema-0/#UnqualLocals > > Since the SCR schema uses the default of unqualified for > elementFormDefault and attributeFormDefault, the namespace prefix of > scr MUST only be specified for the component element. All other elements > and attributes for document MUST not specify the prefix. Yes, the SCR schema uses unqualified locals - but on the other hand the schema can't be used to validate the docs anyway, as the schema requires an order of the contained elements which is not required by the spec. > > If the Felix SCR requires contained elements to use the scr prefix, it > would seem to require non well-formed XML document which is bad. The XML document is well-formed, but it's not conforming to the schema (see http://www.w3.org/TR/xmlschema-0/#QualLocals). Usually namespaces in xml documents are used to qualify all elements belonging to this domain, but YMMV of course. So if the intention of the spec is to use unqualified locals we have to fix our implementation in the Apache Felix project (which is easy to do). However, it would be great if this information could be added to the spec then. Thanks Carsten -- Carsten Ziegeler [EMAIL PROTECTED] _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
