SV: [jdom-interest] DOCTYPE Error
Per Norrman
pernorrman at telia.com
Fri Oct 24 02:26:08 PDT 2003
eeh ..... please disregard the previuos post.
I need a break ....
/pmn
> -----Ursprungligt meddelande-----
> Från: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org] För Per Norrman
> Skickat: den 24 oktober 2003 11:12
> Till: 'Arvind Ramankole'; jdom-interest at jdom.org
> Ämne: SV: [jdom-interest] DOCTYPE Error
>
>
> Hi,
>
> There is no DTD at the specified URL. Note that
> the SAX parser tries to resolve system id as an URL, in
> this case going out and fetching the DTD from the
> indicated web site. Perhaps you should try a file: url
> instead, or write an EntityResolver.
>
> /pmn
>
>
> > -----Ursprungligt meddelande-----
> > Från: jdom-interest-admin at jdom.org
> > [mailto:jdom-interest-admin at jdom.org] För Arvind Ramankole
> > Skickat: den 25 augusti 2003 21:41
> > Till: 'jdom-interest at jdom.org'
> > Ämne: [jdom-interest] DOCTYPE Error
> >
> >
> >
> > Hi All,
> > I am new to jdom and using SAXBuilder, I am getting
> > following error.
> > org.jdom.JDOMException: Error on line 1 of document
> > http://www.mysite.org/xml/StockReport.dtd: The
> > markup declarations contained or pointed to by the document
> > type declaration must be well-formed.
> >
> > When I include the DTD inside the XML file it works fine
> > with out any errors. It also works when I take out the
> > DOCTYPE from the xml file.
> >
> > please advice.
> >
> > Arvind
> >
> >
> > XML file----
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE StockReport SYSTEM
> > "http://www.mysite.org/xml/StockReport.dtd:">
> > <StockReport>
> >
> > <Inventory>
> > <Item>NPAMSHOL</Item>
> > <Available>28</Available>
> > </Inventory>
> > <Inventory>
> > <Item>NPATCT100WL</Item>
> > <Available>44</Available>
> > </Inventory>
> > </StockReport>
> >
> >
> > DTD file---
> > <!DOCTYPE StockReport [
> > <!ELEMENT StockReport (Inventory+)>
> > <!ELEMENT Inventory (Item,Available)>
> > <!ELEMENT Item (#PCDATA)>
> > <!ELEMENT Available (#PCDATA)>
> > ]>
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com
More information about the jdom-interest
mailing list