Re: value error when parsing XML

From: Diez B. Roggisch (deetsNOSPAM_at_web.de)
Date: 07/31/04


Date: Sat, 31 Jul 2004 15:50:27 +0200

Ajay Brar wrote:

> can someone please tell me how i can workaround this problem. the script
> executes fine when the xml and dtd files are in user/. But i don't
> really want to put them there.
> any ideas?

Since you didn't say how you actually access your document - sax or dom - I
can't give you a definite answer. But for sax, try an entityresolver. For
dom, I've no idea, but I bet there is a solution, too.

-- 
Regards,
Diez B. Roggisch


Relevant Pages

  • Re: XML Schemas (XSD) and XML
    ... > Do you know of any program that would allow us to compare two DTD files ... I have Excel 2003, but being new to XML, I'm not ... if you feed "dtd diff" into google you will find a lot of links related to ... They offer a tool named diffdog which does exactly what you want, ...
    (microsoft.public.excel.programming)
  • xml problems- one more time
    ... I read about xml it the idea sounds great but I fail when I try to ... What exactly is needed in the xml and dtd files to allow one to run: ... <!ELEMENT book (bktlong, bktshort, epigraph?, bksum?, chapter+)> ... when I do a xmlto html on the file: ...
    (Fedora)
  • Re: What the hell is XML?
    ... > I am sorry to be a little off topic here, but can someone describe what XML ... I know it is programming languague, but what is the deal with it? ... Not even counting the "fun" of writing the dtd files. ...
    (comp.lang.php)
  • Re: xml problems- one more time
    ... convert xml to other formats. ... What exactly is needed in the xml and dtd files to allow one to run: ... xmlto pdf file.xml ...
    (Fedora)
  • Problem with XmlTextWriter
    ... It's currently failing with an InvalidOperationException when it ... executes the xw.WriteStartElementfor the second time. ... in an invalid XML document." ...
    (microsoft.public.dotnet.xml)