Share

Z39.86 DTB Validator

Tracker: Bugs

5 Fragment identifier URI requirement - ID: 1702621
Last Update: Comment added ( doffen )

The following construct is placed in the XML file:
"<noteref class="endnote" idref="eni">i</noteref>". Then, at the end of
THE SAME FILE is the endnote that it refers to: "<note class="endnote"
id="eni"><p id="p240" smilref="testfile.smil#p240">i This is a sample
endnote. </p></note>".

There seems to be nothing wrong with this internal URI reference, but the
following error is generated: "<detail>A validation error occurred: noteref
URI value does not contain a fragment identifier</detail>".

Dave Offen, consultant to Benetech


Dave Offen ( doffen ) - 2007-04-18 03:09

5

Closed

Invalid

James Pritchett

test error

None

Public


Comments ( 2 )

Date: 2007-04-19 05:21
Sender: doffen


Thanks for the tip. Maybe someone should change the noteref examples in
the DAISY 2005 Structure Guidelines to include the # notation.

Dave


Date: 2007-04-18 15:25
Sender: jwpritchettProject Admin


This is not a bug. The idref attribute on noteref is, despite its name,
not an IDREF type, but rather is a URI (see the DTD for details). Per the
URI specification (RFC 2396), fragment identifiers must be preceded by a
hash ('#'). If you change your noteref to include idref="#eni", the error
should be corrected.

James Pritchett


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-04-18 15:25 jwpritchett
resolution_id None 2007-04-18 15:25 jwpritchett
assigned_to nobody 2007-04-18 15:25 jwpritchett
close_date - 2007-04-18 15:25 jwpritchett