[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Public Indentifier

  • From: Rob Lugt <roblugt@e...>
  • To: xml-dev@l...
  • Date: Wed, 05 Sep 2001 11:25:47 +0100

java indentifier
Harden ZHU wrote

> I have some XML docs as
> <!DOCTYPE Catalog PUBLIC "-//PubCatalog" "http://www.xyz.com/catalog.dtd">
>
> I don't know how public indentifier works. Is "-//PubCatalog" a URI? And
> How parser find it and work with it?

Harden,

The public identifier is not a URI, but it is a string that may be used by
the XML parser to access the resource.  The XML 1.0 recommendation did not
specify how public identifiers should be used with the result that many xml
tools do not process them.

However, this situation is now changing for the better.  OASIS have created
a specification for a standard XML Catalog that can be used by the parser to
resolve public identifiers.  The OASIS web-page [1] contains details of the
specification as well as some tools that help you to use it.  If you are
using a Java SAX parser, then you will be interested in Normal Walsh's Java
Resolver Classes [2] that can be plugged into the popular java parsers.

Regards,

Rob

--
Rob Lugt
ElCel Technology
http://www.elcel.com

[1] http://www.oasis-open.org/committees/entity
[2] http://www.sun.com/xml/developers/resolver/



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.