locked
XML Source fails to generate XSD RRS feed

  • Question

  • Hi guys,

    I have a weird XMl file that needs to be materialized into a table. The problem is I can't get the XSD file generated, it fails giving the following error:

    "The 'http://www.w3.org/XML/1998/namespace:id' attribute is not declared."

    I am no XML expert and frankly speaking this is the very first time I am working with one, but I am suspicious there is something wrong with the structure of the file I am trying to load:

    

    <?xml version="1.0" encoding="UTF-8"?>

    <pbs:root xmlns:pbs="http://schema.pbs.gov.au" xmlns:g2g="http://schema.pbs.gov.au/Agency"

              xmlns:rwt="http://schema.pbs.gov.au/RWT/"

         xml:id="http://www.w3.org/TR/xml-id"     xmlns:rwti="http://schema.pbs.gov.au/RWT/Increase#"

              xmlns:change="http://schema.pbs.gov.au/Change"

              xmlns:contrib="http://schema.pbs.gov.au/Contribution#"

              xmlns:admin="http://schema.pbs.gov.au/Administration#"

              xmlns:auth="http://schema.pbs.gov.au/Authority/Method#"

              xmlns:form="http://schema.pbs.gov.au/Form#"

              xmlns:incentive="http://schema.pbs.gov.au/Incentive#"

              xmlns:fee="http://schema.pbs.gov.au/Fee#"

              xmlns:markup="http://schema.pbs.gov.au/Markup#"

              xmlns:copay="http://schema.pbs.gov.au/Copayment#"

              xmlns:sn="http://schema.pbs.gov.au/SafetyNet#"

              xmlns:group="http://schema.pbs.gov.au/Group#"

              xmlns:container="http://schema.pbs.gov.au/Container#"

              xmlns:dr="http://schema.pbs.gov.au/DR/"

              xmlns:dc="http://purl.org/dc/elements/1.1/"

              xmlns:dct="http://purl.org/dc/terms/"

              xmlns:atc="http://www.whocc.no/ATC#"

              xmlns:dbk="http://docbook.org/ns/docbook"

              xmlns:xlink="http://www.w3.org/1999/xlink"

              xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

              xmlns:skos="http://www.w3.org/2004/02/skos/core#"

              version="2.8"

              vocab-version="2012-02-27"><!-- Build 2012-09-05-01 --><pbs:info>

          <dbk:title>Schedule of Pharmaceutical Benefits</dbk:title>

          <dct:created>2012-09-05</dct:created>

          <dct:available>2012-08-27</dct:available>

          <dct:issued>2012-09-03</dct:issued>

          <dct:valid>2012-09-03</dct:valid>

          <dc:publisher>Department of Health and Ageing, http://www.health.gov.au/</dc:publisher>

          <dc:rights>Copyright (c) 2012 Department of Health and Ageing, Commonwealth of Australia</dc:rights>

          <dc:rights>Permission is granted to use and redistribute this document, as long as all copyright statements are retained. Permission is not granted to modify this document.</dc:rights>

       </pbs:info>

       <pbs:changes-list xml:id="a5025736">

          <pbs:change xml:id="a6460649">

             <pbs:note>

                <dbk:para>Legacy PBDS / ACTION SHEETS / PBDS/10649</dbk:para>

             </pbs:note>

             <pbs:addition xml:id="a6390230">

                <pbs:any-reference xlink:href="#a5029205"/>

             </pbs:addition>

          </pbs:change>

          <pbs:change xml:id="a6460653">

             <pbs:note>

                <dbk:para>Legacy PBDS / ACTION SHEETS / PBDS/11540</dbk:para>

             </pbs:note>

             <pbs:addition xml:id="a6390242">

                <pbs:any-reference xlink:href="#a5028213"/>

             </pbs:addition>

          </pbs:change>

          <pbs:change xml:id="a6460657">

             <pbs:note>

                <dbk:para>Legacy PBDS / ACTION SHEETS / PBDS/14750</dbk:para>

             </pbs:note>

             <pbs:addition xml:id="a6431966">

                <pbs:any-reference xlink:href="#a5142693"/>

             </pbs:addition>

          </pbs:change>

        

    .......

    Any help would be highly appreciated.


    http://thebipalace.wordpress.com

    Monday, September 24, 2012 3:20 AM

Answers

All replies