OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: New version of the Table of contents document

[ Lists Home | Date Index | Thread Index ]
  • From: Amanda Xu <AXu@epnet.com>
  • To: "'martind@netfolder.com'" <martind@netfolder.com>
  • Date: Mon, 7 Feb 2000 12:46:38 -0500

I had fallen into the same trap as you did for quite a while 
until Steve DeRose gave me the hint. 

In order to avoid validation, your syntax should be:

<?xml version="1.0"?>
<!DOCTYPE Document [
<!ENTITY XML-topic "http://www.w3.org/XML" >

You store &XM-topic; in your 'xlink:href' path.  It is very easy 
for the stylesheet to glue the whole XLINK syntax together.  
Hope it helps! 

For the best ...


-----Original Message-----
From: Didier PH Martin [mailto:martind@netfolder.com]
Sent: Monday, February 07, 2000 10:58 AM
To: Amanda Xu; 'Peter Murray-Rust'
Cc: xml-dev@ic.ac.uk
Subject: RE: New version of the Table of contents document

Hi Amanda,

Amanda said:
I am very new to this.  Please forgive me if I made a mistake.

As far as I am concerned, all the identifiers (either a URL
pointer, dumb number like a DOI, or a meaningful number like
issn, or SICI should be surrounded by metadata in a registry
service.  And it is the metadata that need namespaces.

I tried to declare entities in the XML document instead of DTD
on IE5 for client-side processing. It works.  As we all know, the
IE5 for the client-side processing is a non-validating parser.
I have not tried it on the server-side yet.

By the way, the idea of doing so should be credited to Steven
DeRose.   Hope this helps!

Didier replies:
You have to define an entity inside a DTD declaration otherwise IE 5 gives
you an error. So, you created a DTD that includes an entitiy declaration
let's say something like: (is it like below, or different?)

<?xml version="1.0"?>
<!DOCTYPE Document [
<!ENTITY % XML-topic SYSTEM 'http://www.w3.org/XML' >

Now to be more precise for the problem at hand. How do you replace the
xlink:href attribute's value by the entity and have the IE 5 XML browser to
replace the attribute's value by the entity value?

The construct is:
<topic xlink:type="simple" xlink:title="XML topic" xlink:href....>

The goal is to have the right construct so that IE 5 process xlink:href with
"http://www.w3.org/XML" as value instead of %XML-topic;

Or if your construct is different, can you explicitely show it.

Didier PH Martin
Email: martind@netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book to come soon: XML Pro published by Wrox Press
Products: http://www.netfolder.com


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS