bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24496] XML Parser fails to handle a Properties XML file


From: dog at gnu dot org
Subject: [Bug classpath/24496] XML Parser fails to handle a Properties XML file
Date: 6 Nov 2005 10:27:32 -0000


------- Comment #3 from dog at gnu dot org  2005-11-06 10:27 -------
It is necessary to process external entities when parsing XML even if not
validating, as those external entities may include entity declarations which
are referenced in the document body. Therefore the parser will attempt to fetch
the external entity.

It is therefore necessary to implement a local catalog. Include the specified
DTD in locally accessible storage (e.g. the Classpath glibj.zip). Before
parsing, in java.util.Properties.loadFromXML install an EntityResolver
(setEntityResolver) that knows how to supply the DTD from this local storage.


-- 

dog at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dog at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24496





reply via email to

[Prev in Thread] Current Thread [Next in Thread]