XML Schemas Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    #1

    XML Schemas Question


    Hello!

    Simple Yes/No question (i hope):

    If i have an XML document that refers to a schema, such as:

    <?xml .... ?>
    <Claims xmlns="www.exam ple.org/claims"
    xmlns:xsi="http ://www.w3.org/2001/XMLSchema-Instance"
    xsi:schemaLocat ion='http://www.example.org claims.xsd'>
    etc
    </Claims>

    will PHP automatically validate this document against its schema on load?
    all evidence i have suggests: FALSE. I.e. I still have to call
    DOMDocument->schemaValidate () (well, in PHP5 at least).

    am i correct?

    domo!
    mark.

    --
    I am not an ANGRY man. Remove the rage from my email to reply.
  • www1

    #2
    Re: XML Schemas Question

    you can find it here: http://www.plsgoogleit.com


    "Mark" <mw@ANGRYLanfea r.com> wrote in message
    news:yJidnc88u5 d2UWjcRVn-vw@nventure.com ...[color=blue]
    >
    > Hello!
    >
    > Simple Yes/No question (i hope):
    >
    > If i have an XML document that refers to a schema, such as:
    >
    > <?xml .... ?>
    > <Claims xmlns="www.exam ple.org/claims"
    > xmlns:xsi="http ://www.w3.org/2001/XMLSchema-Instance"
    > xsi:schemaLocat ion='http://www.example.org claims.xsd'>
    > etc
    > </Claims>
    >
    > will PHP automatically validate this document against its schema on[/color]
    load?[color=blue]
    > all evidence i have suggests: FALSE. I.e. I still have to call
    > DOMDocument->schemaValidate () (well, in PHP5 at least).
    >
    > am i correct?
    >
    > domo!
    > mark.
    >
    > --
    > I am not an ANGRY man. Remove the rage from my email to reply.[/color]


    Comment

    • skrebbel

      #3
      Re: XML Schemas Question

      "www1" <www1@www1.co m> wrote in message news:ct6dpm$p1q $1@ls219.htnet. hr...[color=blue]
      > you can find it here: http://www.plsgoogleit.com[/color]

      you're an ass.


      Comment

      • Mark

        #4
        Re: XML Schemas Question

        www1 wrote:
        [color=blue]
        > you can find it here: http://www.plsgoogleit.com[/color]

        you wanna share the magical search you executed to get the answer to this?
        cuz i've been searching google for a bit on this, and while i've found many
        pages related to queries, none of which answer this question.

        mark.

        [color=blue]
        >
        > "Mark" <mw@ANGRYLanfea r.com> wrote in message
        > news:yJidnc88u5 d2UWjcRVn-vw@nventure.com ...[color=green]
        >>
        >> Hello!
        >>
        >> Simple Yes/No question (i hope):
        >>
        >> If i have an XML document that refers to a schema, such as:
        >>
        >> <?xml .... ?>
        >> <Claims xmlns="www.exam ple.org/claims"
        >> xmlns:xsi="http ://www.w3.org/2001/XMLSchema-Instance"
        >> xsi:schemaLocat ion='http://www.example.org claims.xsd'>
        >> etc
        >> </Claims>
        >>
        >> will PHP automatically validate this document against its schema on[/color]
        > load?[color=green]
        >> all evidence i have suggests: FALSE. I.e. I still have to call
        >> DOMDocument->schemaValidate () (well, in PHP5 at least).
        >>
        >> am i correct?
        >>
        >> domo!
        >> mark.
        >>
        >> --
        >> I am not an ANGRY man. Remove the rage from my email to reply.[/color][/color]

        --
        I am not an ANGRY man. Remove the rage from my email to reply.

        Comment

        Working...