For Quiz 3 (on Thursday, Feb. 27)
- Note: You need to be able to parse a snippet of XML even if it is not indented on the page. You may not always have oXygen there to helpfully indent the levels of your hierarchy.
- What are the five escape characters predefined in XML specification 1.0? Weblinks:
- Friendly explanation from someone trying to sell you an XML Editor: https://www.liquid-technologies.com/XML/EscapingData.aspx
- Open-access crowd-driven encyclopedia: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML
- XML Specification 1.0, Section 4.6, “Predefined Entities”: https://www.w3.org/TR/xml/#sec-predefined-ent
- What is an empty element (aka self-closing element aka milestone element)? What are the two ways of writing a self-closing element?
- What is an ontology? Taxonomy? Controlled vocabulary? Where would you be most likely to use a controlled vocabulary in your project?
- What is a namespace? Why do we need a namespace? What does a namespace tell you?
- What is the namespace attribute? (@xmlns)
- Where do you add the namespace attribute? (on the root element)
- Is there a difference between
titleif you are working entirely within the TEI namespace?
- What is the difference between XML, an XML language, and a customization of that language?
- What is well-formedness? What does it mean if a document is TEI-compliant? What does it mean if a document is “valid”?
- What is a schema? What does a schema capture?
- What is an XML comment? How do you write one?
- What does it mean when a line of code starts with
- If you associate a file with a schema, what are you telling the processor to do?
- What is the difference between a relative URL and an absolute URL?
[Rolling this stuff over to Quiz 4: (1) using a schema to prescribe, proscribe, and allow elements; to prescribe, proscribe, and allow attributes; to define the allowed values for the project [usually by pulling the values in from a taxonomy]. (2) Creating a Document Object Model (DOM). (3) Doing a needs analysis on a document collection.]
For Quiz 2 (on Thursday, Feb. 6)
- What’s the difference between well-formedness and schema conformity (validation)?
- What is the XML specification?
- What is an XML language and what does it do that the XML specification does not? (Specify the elements and attributes and sometimes values for encoding particular types of objects, texts, data, or instructions.)
- What is a schema? (Schema define which elements are required or optional, which elements must have which children, which children must have siblings, what attributes are allowed or required, what values are allowed, the order in which elements must appear in the XML document, and so on.)
- A parent element cannot have a text node at the same level in the hierarchy as a child element.
- What is an .rng file?
- Acronyms: TEI, MEI