[dsdl-comment] Two NVDL Questions: (1) schemaType = Best Practice? (2) MIME type of RNG, XSD, SCH, DTD schemas?

From: Costello, Roger L. <costello@mitre.org>
Date: Tue May 06 2008 - 11:25:59 UTC

Hi Folks,

May I ask NVDL questions on this list? If this is not the correct list
to ask basic NVDL usage questions, please advise of the proper list.

Assuming this is the correct list ...

First, a comment: NVDL is awesome! I just recently "discovered" it, am
every excited about it, and am telling everyone I can about it.

I have two questions.

QUESTION #1

Is it Best Practice to always use schemaType?

Let me explain why I ask this question.

In XHTML it is recommended that when using the <img> element you
include the images' width and height, e.g.

   <img src="blah.gif"
        alt="blah"
        width="250"
        height="250" />

This enables a browser to allocate space before downloading the image.

Analogously, if schemaType is always used, e.g.

   <validate schema="Book.rnc"
             schemaType="application/x-rnc" />

then an NVDL processor can identify the type of the schema without the
overhead of opening and inspecting the schema.

So, it seems that it would always be good to always specify schemaType.
What do you think?

QUESTION #2

What is the MIME type of

- a Relax NG Full Syntax schema?
- a W3C XML Schema schema?
- a Schematron schema?
- a DTD schema?

Thanks!

/Roger

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Tue May 6 15:07:47 2008

This archive was generated by hypermail 2.1.8 : Tue May 06 2008 - 15:38:04 UTC