gec34 / Inaugural_Addresses

0 stars 1 forks source link

Relax NG comments #4

Closed djbpitt closed 3 years ago

djbpitt commented 3 years ago

Your schema is off to a good start! I'm writing now just to mention that the syntax for comments in Relax NG is different from the syntax in XML. In XML comments look like <!-- This is a comment -->. In Relax NG, though, that syntax doesn't work, and \<oXygen/> won't be able to validate and use your schema if it includes that type of comment.

Comments in Relax NG have a single hash mark (#) at the beginning of each line. Unfortunately, Relax NG doesn't support block comments, that is, comments where you can wrap multiple lines in a single set of comment delimiters, as you can in XML. In a Relax NG comment that's longer than a single line, you have to put a hash mark at the beginning of every line of the comment.