Hi Jochen,

skippedEntity reports the name of the entity being skipped. I assume
you're referring to the system identifier reported to
DeclHandler.externalEntityDecl. SAX 2.0.2 [1] specifies that the system
identifier is fully resolved. Setting the new feature
'http://xml.org/sax/features/resolve-dtd-uris' to false will instruct the
parser to report the unresolved system identifier.

[1] http://sourceforge.net/project/shownotes.php?release_id=234402

On Tue, 25 May 2004, Jochen Wiedmann wrote:

>
> Hi,
>
> I have an XML file with the following declaration:
>
>    <!DOCTYPE extEntity [<!ENTITY foobar SYSTEM "foobar.xml">]>
>
> Using xercesImpl.jar and xml-apis.jar from
>
>      http://gump.covalent.net/jars/2004-05-24/xml-xerces2/
>
> I find that ContentHandler.skippedEntity(String) receives the
> argument
>
>      file:///c:/jwi/Workspace/CanonifyXML/foobar.xml
>
> in other words, an absolute path. This is definitely not what
> I want.
>
> Is the above behaviour intentional? IMO the event should report
> the unmodified system ID.
>
>
> Regards,
>
> Jochen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to