<script type="text/javascript+protovis"> what does + sign mean?
Asked Answered
U

1

6

As the title asks,

What does the + sign mean in <script type="text/javascript+protovis">?

Are there any good materials?

Universalist answered 31/7, 2012 at 7:55 Comment(0)
S
1

Shamelessly stolen from a different answer here.

Pattern for naming mimetypes is as follows:

A dot hierarchically separates multiple "elements" (for instance, config is child of iptv, that is child of nokia, that is child of vnd).

A hyphen separates composite words (as in google-earth and openxmlformats-officedocument).

A plus sign serves to further specify the serializing format (+json and +xml in these examples).

The x- prefix should be used for MIME types not registered with IANA (and, thus, not shown on that list).

Also, text/javascript+protovis is not equivalent to text/javascript. The two could be parsed differently.

Sibelle answered 31/7, 2012 at 8:21 Comment(2)
Forgive me that I'm absolute newbie. > A plus sign serves to further specify the serializing format (+json and +xml in these examples). What does serializing format mean?Universalist
You could read about what serialization is on wikipediaSibelle

© 2022 - 2024 — McMap. All rights reserved.