XML Interviews Question page30
-
What are the valid values for xlink:actuate and xlink:show?
Don't blame me to put such a simple question here. I saw a famous exam simulator gave wrong answer on this one. Typing them out also help me to remember them. xlink:actuate onRequest, onLoad, other, none xlink:show replace new embed other none
-
What is the correct answer of the following question?
Which of the following is true about XLink and HTML hyperlinks?
1. XLink can be attached with any element. Hyperlinks in HTML can be attached to only an ANCHOR <A> element.
2. XLink can refer to a specific location in XML document by name or context with the help of XPointer. HTML ANCHOR<A> does not have capability to point to specific location within an html document.
3. XLink / XML links can be multidirectional. HTML links are unidirectional.
4. HTML links are activated when user clicks on them. XLink has option of activating automatically when XML document is processed.
Only 2 is incorrect, since HTML ANCHOR does have capability to point to specific location within an html document.
-
What three essential components of security does the XML Signatures provide?
authentication, message integrity, and non-repudiation. In addition to signature information, an XML Signature can also contain information describing the key used to sign the content. XLink Processing and Conformance Processing Dependencies: XLink processing depends on [XML], [XML Names], [XML Base], and [IETF RFC 2396] Markup Conformance: An XML element conforms to XLink if: it has a type attribute from the XLink namespace whose value is one of "simple", "extended", "locator", "arc", "resource", "title", or "none", and it adheres to the conformance constraints imposed by the chosen XLink element type, as prescribed in this specification. This specification imposes no particular constraints on DTDs; conformance applies only to elements and attributes. Application Conformance: An XLink application is any software module that interprets well-formed XML documents containing XLink elements and attributes, or XML information sets [XIS] containing information items and properties corresponding to XLink elements and attributes. Such an application is conforming if: it observes the mandatory conditions for applications ("must") set forth in this specification, and for any optional conditions ("should" and "may") it chooses to observe, it observes them in the way prescribed, and it performs markup conformance testing according to all the conformance constraints appearing in this specification. XLink Markup Design Link markup needs to be recognized reliably by XLink applications in order to be traversed and handled properly. XLink uses the mechanism described in the Namespaces in XML Recommendation [XML Names] to accomplish recognition of the constructs in the XLink vocabulary.