Expand description
What XML and RDF/XML can actually represent.
Two constraints of the output syntax the object model cannot express:
Not every character can appear in an XML document. A character outside XML 1.0’s
Char production (NUL, most of the C0 range) has no representation, not even as a
character reference, and quick-xml checks this in neither direction.
rdf:ID is an XML NCName. _ plus a UUID always is one, but a non-conforming
identifier kept verbatim may not be: rdf:ID="_http://host/EQ.xml#Sub1" is well-formed
XML and invalid RDF/XML. The writer asks identifier_form which serialization fits.
Enums§
- Identifier
Form - How an identifier can be written into a CIM/XML document.
Functions§
- describe_
char - Render a character the way a diagnostic should name it.
- find_
illegal - The first character of
sthat XML 1.0 cannot represent, with its byte offset. - has_
illegal - Whether
scontains a character XML 1.0 cannot represent. - identifier_
form - Which serializations
id— an identifier stripped of CIM/XML decoration — can carry. - is_
absolute_ iri - Whether
sis an absolute IRI: a scheme, a colon, and something after it. - is_
ncname - Whether
sis an XMLNCName— aNamewith no colon. - is_
xml_ char - Whether
cis in XML 1.0’sCharproduction. - strip_
illegal swith every character XML cannot represent removed.