Loading ...
Sorry, an error occurred while loading the content.


Expand Messages
  • John W. Shipman
    Apr 4, 2008
      We're using the nxml-mode-20060901 schemas here, and I've noticed
      something missing in the XHTML support.

      nxml is flagging <input type='file'.../> as invalid. Sure
      enough, here are the relevant schema lines, and they are
      missing this quite valid XHTML 1.1 option:

      ================ xhtml-basic-form.rnc
      input = element input { input.attlist }
      input.attlist =
      attribute type { InputType.class }?,
      InputType.class =
      | "password"
      | "checkbox"
      | "radio"
      | "submit"
      | "reset"
      | "hidden"

      ================ xhtml-form.rnc
      InputType.class |= "image" | "button"

      Is there a newer set of schema files? If not, into which .rnc
      file should I add "file" as a choice for InputType.class?

      Best regards,
      John Shipman (john@...), Applications Specialist, NM Tech Computer Center,
      Speare 119, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john
      ``Let's go outside and commiserate with nature.'' --Dave Farber
    • Show all 2 messages in this topic