hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

h5dump uses `DEFAULT_XSD` and `DEFAULT_DTD`that do not exist.

Open hyoklee opened this issue 2 years ago • 6 comments

Describe the bug See attached screen shot.

Expected behavior The referenced files should exist.

Screen Shot 2023-03-28 at 12 10 33 PM

hyoklee avatar Mar 28 '23 17:03 hyoklee

A namespace name is a uniform resource identifier (URI). Typically, the URI chosen for the namespace of a given XML vocabulary describes a resource under the control of the author or organization defining the vocabulary, such as a URL for the author's Web server. However, the namespace specification does not require nor suggest that the namespace URI be used to retrieve information; it is simply treated by an XML parser as a string. For example, the document at http://www.w3.org/1999/xhtml itself does not contain any code. It simply describes the XHTML namespace to human readers. Using a URI (such as "http://www.w3.org/1999/xhtml") to identify a namespace, rather than a simple string (such as "xhtml"), reduces the probability of different namespaces using duplicate identifiers.

byrnHDF avatar Mar 28 '23 22:03 byrnHDF

The files are located at: https://docs.hdfgroup.org/archive/support/HDF5/XML.html Unfortunately, it should be available by the public. These files should be restored to the original location. Also they should be reviewed for accuracy.

byrnHDF avatar May 04 '23 15:05 byrnHDF

Can @loricooperhdf help us?

hyoklee avatar May 07 '23 03:05 hyoklee

https://forum.hdfgroup.org/t/changes-to-h5dump/13042

hyoklee avatar Feb 12 '25 15:02 hyoklee

I had to leave the engineering meeting where I believe this was discussed early due to another meeting.

Are you saying that http://www.hdfgroup.org/HDF5/XML/schema/HDF5-File.xsd should resolve to https://docs.hdfgroup.org/archive/support/HDF5/XML.html I went ahead and created this redirection...

www has no technical/support content on it since at least May 2017 (my start date.) I would prefer to not create a file that will live there and then go on to confuse future generations, but I should be able to redirect to the accurate location on docs, if this is where you want it to go.

loricooperhdf avatar Feb 13 '25 17:02 loricooperhdf

Since that xml option of h5dump has effectively been deprecated, and no plans to update it - I will get those files copied in to the h5dump source folder and put a notice in the h5dump doxygen page that the xml option is no longer maintained that the files are available but that h5dump will not edit the code as the use of the file is simply to create a namespace attribute. Only an xml schema app would care - but again we do not support the xml option.

Therefore I would not bother to store the file anywhere else - except if you want them archived on the support site.

Allen


From: Lori Cooper @.***> Sent: Thursday, February 13, 2025 11:06 AM To: HDFGroup/hdf5 Cc: Allen Byrne; Assign Subject: Re: [HDFGroup/hdf5] h5dump uses DEFAULT_XSD and DEFAULT_DTDthat do not exist. (Issue #2646)

I had to leave the engineering meeting where I believe this was discussed early due to another meeting.

Are you saying that http://www.hdfgroup.org/HDF5/XML/schema/HDF5-File.xsd should resolve to https://docs.hdfgroup.org/archive/support/HDF5/XML.html

www has no technical/support content on it since at least May 2017 (my start date.) I would prefer to not create a file that will live there and then go on to confuse future generations, but I should be able to redirect to the accurate location on docs, if this is where you want it to go.

— Reply to this email directly, view it on GitHubhttps://github.com/HDFGroup/hdf5/issues/2646#issuecomment-2657234766, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL77KBRAMI3YBVBBFZ2LECD2PTGJPAVCNFSM6AAAAABW75TDVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGIZTINZWGY. You are receiving this because you were assigned.Message ID: @.***>

[loricooperhdf]loricooperhdf left a comment (HDFGroup/hdf5#2646)https://github.com/HDFGroup/hdf5/issues/2646#issuecomment-2657234766

I had to leave the engineering meeting where I believe this was discussed early due to another meeting.

Are you saying that http://www.hdfgroup.org/HDF5/XML/schema/HDF5-File.xsd should resolve to https://docs.hdfgroup.org/archive/support/HDF5/XML.html

www has no technical/support content on it since at least May 2017 (my start date.) I would prefer to not create a file that will live there and then go on to confuse future generations, but I should be able to redirect to the accurate location on docs, if this is where you want it to go.

— Reply to this email directly, view it on GitHubhttps://github.com/HDFGroup/hdf5/issues/2646#issuecomment-2657234766, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL77KBRAMI3YBVBBFZ2LECD2PTGJPAVCNFSM6AAAAABW75TDVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGIZTINZWGY. You are receiving this because you were assigned.Message ID: @.***>

byrnHDF avatar Feb 13 '25 21:02 byrnHDF

Added the files to the tools/test/h5dump/testfiles/xml folder.

byrnHDF avatar Apr 25 '25 15:04 byrnHDF