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

RE: [emacs-nxml-mode] Can I validate documents with a xsi:noNamespaceSchemaLocation attribute ?

Expand Messages
  • Florent Georges
    ... You have to add this in the RNC schema to the root element: attribute xsi:schemaLocation { xsd:anyURI }? You can off course use instead include to not
    Message 1 of 2 , May 30, 2006
    • 0 Attachment
      Jeff Kowing wrote:

      > And then I fire up emacs/nxml-mode and associate the
      > document with schema_060322.rnc. Everything works
      > splendid except for that troublesome
      > xsi:noNamespaceSchemaLocation="schema_060322.xsd"
      > attribute in the root element. Nxml-mode complains that
      > it is an invalid attribute and, thus, the document does
      > not validate.

      You have to add this in the RNC schema to the root
      element:

      attribute xsi:schemaLocation { xsd:anyURI }?

      You can off course use instead "include" to not modify the
      generated RNC schema. You can see:

      http://relaxng.org/compact-tutorial-20030326.html#id2815524

      Regards,

      --drkm

































      ___________________________________________________________________________
      Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
      http://fr.mail.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.