Schema does not validate media-type special characters #1253
-
Describe the bugSchema does not validate media-type special characters e.g. “image/png” - doesn’t meet URI requirements. Who is the bug affecting?Telos What is affected by this bug?Schema validation of XML files. When does this occur?When validating XML files that contain media-type elements with special characters. How do we replicate the issue?Attempt to validate an XML file containing a media-type with a special character. e.g. “image/png”
If applicable, add screenshots to help explain your problem.} Expected behavior (i.e. solution)Error on associated line. Other Comments{Add any other context about the problem here.} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Can you please provide an example that evidences that such a |
Beta Was this translation helpful? Give feedback.
-
Here is the error output: TCL-07068B:~ 13503$ xmllint --schema /Users/13503/PycharmProjects/OSCAL/oscal.xsd /Users/13503/PycharmProjects/OSCAL/NewXacta.xml --noout Would you also be able to clarify requirements/expectations for "rel" in this case? |
Beta Was this translation helpful? Give feedback.
-
The media type does not get defined in the To clarify which |
Beta Was this translation helpful? Give feedback.
The media type does not get defined in the
rel
. Themedia-type
field is the correct one for that information. Instead, therel
is used to define the relation type, which declares the nature of the linkage.To clarify which
rel
value to use I would need to understand the purpose of the link.