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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
An XML language for describing file attributes of a directorytree?

Hi, XML-dev folks:

I'm looking for pointers to an XML-based language for describing file 
attributes of a directory tree. Peter Murray-Rust suggested I ask 
this list.

I have an application in mind which will record directory listings of 
a file system in text form. That is, it should say something like:

     File name is: abc.txt
     Last modification date is: 2009-12-31T01:23
     Read-only attribute is: True
     Hidden attribute is: False

The listings will persist for years in a long-term archive, so the 
language should be self-evident to an information archaeologist of 
the future. The language should be able to describe the most 
commonly-used file attributes of common PC platform file systems: 
NTFS, FAT, HFS+, ext2/3, etc. It should be able to handle non-Latin 
file names, different semantics for time stamps on different file 
systems, etc.

Of course, the obvious choice of a language for structuring this data 
is some XML-based language. Can anyone point me to a language which 
already exists for describing hierarchical structures of file 
attributes and directory attributes, as in a file system? I'm hoping 
to benefit from the work those language designers did to get the 
semantics right, create the schema or DTD, work out the niggling 
details of whether something should be an XML element or attribute, 

I've looked in the obvious places: http://xml.coverpages.com, web 
search engines, the archives of XML-L and comp.text.xml, and here. I 
didn't find any traces of such languages. The search was complicated 
a bit because the search term "file attributes" gets lots of hits on 
the term "attributes" as used in XML.

Please suggest languages I should investigate. It helps to have the 
name of the language, and a pointer to a URL where the language and 
its related tools, syntax definitions, etc. are described.  Please 
reply directly to me, or to a question I have open on Stack Overflow:

I can summarise for the list.

(Peter Murray-Rust's comment at Stack Overflow: "If there isn't a 
specification for this then there should be and I would expect the 
OASIS folk to be involved. [You can say I suggested it.]")

Thanks in advance!
     --Jim DeLaHunt, jdlh@jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
       multilingual websites consultant

       157-2906 West Broadway, Vancouver BC V6K 2G8, Canada
          Canada mobile +1-604-376-8953

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS