Parsing XML - How to differ between XML / DTD


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Parsing XML - How to differ between XML / DTD

  1. #1
    Volker Held Guest

    Parsing XML - How to differ between XML / DTD

    Hi there,

    i just completed a command-line XML
    validation tool and it works fine.

    Im logging possible errors to a single
    or multiple file(s) ( users choice ),
    but the DTD is quite new itself, thus
    there can be errors in both the XML
    sources and the DTD file.

    Im using the Xerces parser ( 1.4.4 ) -
    is there any way to tell if the error
    occured in the DTD and not the xml source?

    Thanks for any suggestions you might have.

    Volker


  2. #2
    Volker Held Guest

    Re: Parsing XML - How to differ between XML / DTD

    Sorry wrong group.....

    Volker Held wrote:
    > Hi there,
    >
    > i just completed a command-line XML validation tool and it works fine.
    >
    > Im logging possible errors to a single or multiple file(s) ( users
    > choice ), but the DTD is quite new itself, thus there can be errors in
    > both the XML sources and the DTD file.
    >
    > Im using the Xerces parser ( 1.4.4 ) - is there any way to tell if the
    > error occured in the DTD and not the xml source?
    >
    > Thanks for any suggestions you might have.
    >
    > Volker
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center