W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

Question about public identifier

From: Lihong Pei <Lihong.Pei@xilinx.com>
Date: Mon, 3 Dec 2001 17:22:16 -0500 (EST)
Message-ID: <3C0BFAEC.42DB401D@xilinx.com>
To: www-validator@w3.org
Hi,
I'm working with XML and I have a question about public identifier.
>From the web, it mentioned that formal publicid has to be in certain
format like:
        prefix//owner-identifier//text-class
text-description//language//display-version.
However, W3C does not mention it and implied it could be in any format
what the allowed PubidChar.
I'm wondering if I write a Xml file with
<!DOCTYPE TypeLib PUBLIC "$XILINX/data/xml/Ldm/Ldm_TypeLib.dtd"

"http://web/randd/software/xfndry/rtf/data/xml/Ldm/Ldm_TypeLib.dtd" > ,
in which $XILINX will be resolved by my own EntityResolver, will it be
OK?
Will <!DOCTYPE TypeLib SYSTEM "$XILINX/data/xml/Ldm/Ldm_TypeLib.dtd"> be
acceptable? The concern is that SYSTEM id has to be a URI, while
"$XILINX/data/xml/Ldm/Ldm_TypeLib.dtd" could only be resolved my parse
with my own EntityResolver.

Could you help me to solve the confusion?
Thanks a lot in advance!

Lihong Pei
Received on Thursday, 6 December 2001 16:24:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT