You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by David DELGRANCHE <dd...@sogitec.fr> on 2001/03/15 08:53:21 UTC

DTD Parsing

Hi,

I'm trying to find a parser to parse a DTD. Does anyone already do this? It 
seems that Xerces doens't support the DTD parsing. Perhaps in the next 
versions?
thanks for help
David.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: DTD Parsing

Posted by se...@cern.ch.
> > I'm trying to find a parser to parse a DTD. Does anyone already do this?
> > It
> > seems that Xerces doens't support the DTD parsing. Perhaps in the next
> > versions?
> > thanks for help
> > David.
>

> http://www.wutka.com/dtdparser.html this shuold do the trick.
> I haven´t tryed it me self thoug...

Works well but does not provide a DOM tree..

Sebastien

Re: DTD Parsing

Posted by chandru <cu...@connextive.com>.
Hi friends ,
  while reading the dtd using the DTDReader .the elements content model is
giving the a normalised definition .
e.g:
 <!ELEMENT NOE (%_NOE_;)>
<!ENTITY % _NOE_ (Msgfun,getInfo,(Reader))>

what iam expecting is:
  element name : NOE
  content Mode: (%_NOE)

what the parser informs in DeclHandler  is
 element name : NOE
  content Mode: (Msgfun,getInfo,(Reader))

how can i regain the original declarations.i.e with out the normalisation.

Expecting your mail soon....


from
chandra sekhar





---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: DTD Parsing

Posted by René Jensen <lu...@tbkol.dk>.
Citat David DELGRANCHE <dd...@sogitec.fr>:

> Hi,
> 
> I'm trying to find a parser to parse a DTD. Does anyone already do this?
> It 
> seems that Xerces doens't support the DTD parsing. Perhaps in the next 
> versions?
> thanks for help
> David.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org

http://www.wutka.com/dtdparser.html this shuold do the trick.
I haven´t tryed it me self thoug...

       _\|/_
       (@ @)
---oOOo-(_)-oOOo---
    René Jensen
 lundeman@tbkol.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org