Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When do I add an ObjectRef to metadata?

metadata
0

As background one must understand the Id/IdRef facility in XML. Within XML Schema, attributes can be declared of type ID or IDREF. An element with an ID-type attribute can be pointed at. The ID is the label. An attribute of type IDREF points to an element containing an ID-type attribute. Each IDREF must have a matching ID to point at within the document. No dangling pointers are allowed. ebXML Registry Schema depends heavily on this Id/IdRef mechanism. An example is a submission containing a RegistryPackage and a Classification. The classification declares the RegistryPackage to be a submission set or folder. The RegistryPackage object has an attribute id of type ID. This tells us it can be pointed to. The Classification object has an attribute classifiedObject of type IDREF. This must point to an object containing a attribute of type ID. Pointing is achieved by having the ID and the IDREF contain the same value. In general, the value of IDREF must match an ID of same value within the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123