disregarding xsi:noNamespaceSchemaLocation?

Discussion in 'XML' started by Jean-François Michaud, Apr 14, 2008.

  1. Hello guys,

    I was wondering if it was possible to disregard the
    xsi:noNamespaceSchemaLocation. For validation it's obviously easier to
    have it point to say a local directory but the final
    xsi:noNamespaceSchemaLocation has to point to a specific location that
    is not local. I was wondering if it was possible to make sure that the
    xsi:noNamespaceSchemaLocation points to the non local location, force
    the parser to disregard the xsi:noNamespaceSchemaLocation and force it
    to validate against a specific XSD in a location of our choice to
    avoid having to tinker with the SchemaLocation XML attribute just for
    the validation.

    I'm using Saxon8

    Any thoughts?

    Regards
    Jean-Francois Michaud
     
    Jean-François Michaud, Apr 14, 2008
    #1
    1. Advertisements

  2. Jean-François Michaud wrote:

    > I was wondering if it was possible to disregard the
    > xsi:noNamespaceSchemaLocation. For validation it's obviously easier to
    > have it point to say a local directory but the final
    > xsi:noNamespaceSchemaLocation has to point to a specific location that
    > is not local. I was wondering if it was possible to make sure that the
    > xsi:noNamespaceSchemaLocation points to the non local location, force
    > the parser to disregard the xsi:noNamespaceSchemaLocation and force it
    > to validate against a specific XSD in a location of our choice to
    > avoid having to tinker with the SchemaLocation XML attribute just for
    > the validation.
    >
    > I'm using Saxon8


    You might want to ask on the Saxon mailing list.
    For the current release Saxon 9 the documentation is online here
    <URL:http://www.saxonica.com/documentation/schema-processing/commandline.html>
    and suggests that you can set the -xsd:file;file option the specify
    schema documents to be used for validation.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Apr 14, 2008
    #2
    1. Advertisements

  3. On Apr 14, 10:30 am, Martin Honnen <> wrote:
    > Jean-François Michaud wrote:
    > > I was wondering if it was possible to disregard the
    > > xsi:noNamespaceSchemaLocation. For validation it's obviously easier to
    > > have it point to say a local directory but the final
    > > xsi:noNamespaceSchemaLocation has to point to a specific location that
    > > is not local. I was wondering if it was possible to make sure that the
    > > xsi:noNamespaceSchemaLocation points to the non local location, force
    > > the parser to disregard the xsi:noNamespaceSchemaLocation and force it
    > > to validate against a specific XSD in a location of our choice to
    > > avoid having to tinker with the SchemaLocation XML attribute just for
    > > the validation.

    >
    > > I'm using Saxon8

    >
    > You might want to ask on the Saxon mailing list.
    > For the current release Saxon 9 the documentation is online here
    > <URL:http://www.saxonica.com/documentation/schema-processing/commandline.html>
    > and suggests that you can set the -xsd:file;file option the specify
    > schema documents to be used for validation.


    Super! Thanks for the input ;-).

    Regards
    Jean-Francois Michaud
     
    Jean-François Michaud, Apr 14, 2008
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?WUM=?=

    XSI type not supported withing web.config file

    =?Utf-8?B?WUM=?=, Apr 5, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    488
    =?Utf-8?B?WUM=?=
    Apr 5, 2006
  2. Naresh Agarwal
    Replies:
    1
    Views:
    971
    Christian Ludwig
    Jan 13, 2004
  3. Tjerk Wolterink
    Replies:
    1
    Views:
    1,884
    Tjerk Wolterink
    Sep 1, 2005
  4. Elhanan
    Replies:
    0
    Views:
    668
    Elhanan
    May 22, 2006
  5. Replies:
    7
    Views:
    734
  6. tooshiny
    Replies:
    1
    Views:
    483
    Stefan Behnel
    Jun 4, 2009
  7. David Heinemeier Hansson
    Replies:
    0
    Views:
    190
    David Heinemeier Hansson
    Oct 30, 2003
  8. Andres Monroy-Hernandez

    XML::Twig constructor disregarding map_xmlns - bug in module?

    Andres Monroy-Hernandez, Aug 29, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    168
    Andres Monroy-Hernandez
    Aug 29, 2004
Loading...