location of libraries/library/module/script DTDs?

2014-12-25 Thread Lee Fisher
Hi,

Where can I find these DTDs:

  libraries.dtd
  library.dtd
  module.dtd
  scripting.dtd

These are used in ODF packages for the script-lb.xml, script-lc.xml, and
parcel-description.xml files. Besides the DTDs, are there any specs that
describe the format of these 3 XML files?

I haven't found them in the SDK or the source distribution.

I need them to do DTD validation of the script-related metadata in these
XML files, in addition to the RelaxNG validation of the other ODF XML
content.

I'm working on an ODF diagnostic tool, and I need to study these to
determine if there can be multiple scripts per XML file, etc.

Thanks,
Lee

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: location of libraries/library/module/script DTDs?

2014-12-25 Thread Lee Fisher
I got a dump of 250MB of ODF files from the AOO bug database, via Rob,
the ODF subset used for his recent Peach fuzzing.

There are very few examples of scripts. All of the examples I've found
to date use these XML files, which refer to these DTD files.

I have not see any other script files which do not use these XML files
and refer to these DTDs.

So, these DTDs *are* referred by one ODF producer which implements scripts.

I'll dig up the specific filenames.

Since these scripts came from the bug database, the're the 'wild west',
could be generated from anywhere.

I really wish I had a test suite of AOO QA documents which exercised the
script abilities.

I realize scripting is outside of the OASIS ODF spec. I would like to
find the AOO docs that describe their implementation of scripts.

Thanks,
Lee

On 12/25/2014 11:54 AM, Dennis E. Hamilton wrote:
 The files listed below are not conventional files used in ODF packages.  The 
 basic ODF files do not use DTDs and files by those names are not part of the 
 standard ODF document structure.  While there might be other files in an ODF 
 package, usually XML files are expected to conform to [xml-names] and need a 
 different schema. 

 What is the file extension on the files you are examining and are there 
 standard ODF components there as well, such as content.xml (the minimum 
 requirement) and a META-INF/manifest.xml conforming to the ODF specification.
 If it is otherwise an ODF package, the meta.xml file should reveal what 
 software produced it.

 It may be that these are *OpenOffice-specific and you will find nothing about 
 them in the ODF specification, so your tool may need to differentiate between 
 ODF and implementation-specific content.

 Note that scripting is implementation-dependent in the ODF specification.

  - Dennis

 -Original Message-
 From: Lee Fisher [mailto:l.office.fis...@gmail.com] 
 Sent: Thursday, December 25, 2014 11:41
 To: dev@openoffice.apache.org
 Subject: location of libraries/library/module/script DTDs?

 Hi,

 Where can I find these DTDs:

   libraries.dtd
   library.dtd
   module.dtd
   scripting.dtd

 These are used in ODF packages for the script-lb.xml, script-lc.xml, and
 parcel-description.xml files. Besides the DTDs, are there any specs that
 describe the format of these 3 XML files?

 I haven't found them in the SDK or the source distribution.

 I need them to do DTD validation of the script-related metadata in these
 XML files, in addition to the RelaxNG validation of the other ODF XML
 content.

 I'm working on an ODF diagnostic tool, and I need to study these to
 determine if there can be multiple scripts per XML file, etc.

 Thanks,
 Lee

 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: location of libraries/library/module/script DTDs?

2014-12-25 Thread Lee Fisher
 It is correct that you will find many XML based documents that refer
to DTD
 documents, actually it is a part of XML standard to do so.

 But that does not mean that scripts or programs use these files. They are
 often (and in case of AOO it is so) included just as a reference for
 defining which XML constructs are legal. If you google DTD there are a
 handfull of sites that offer them for both ODF and OOXML.

Thanks to multiple responders, for the pointers to more easily search
the code.

The box with the data in question is down for backup, I'll get you
specific file names and creator versions by morning.

And, again I realize scripting is outside realm of OASIS spec, yet AOO
and other clients need to read these documents which contain these scripts.

If AOO reads these and doesn't have the DTDs to validate the metdata
before running scripts, that sounds kindof scary. That's why I was
presuming I'd find the DTDs in the current AOO code, regardless of which
codebase generated the original documents.

I mainly need to know if the XML files can contain multiple scripts per
file, or there must be a separate file for each script (which I think is
the case).

All scripts I've found to date are StarBasic, Java JARs, Java BeanShell,
and JavaScript. (I haven't started parsing the MS-centric VBA OLE2 blobs
yet.) I've not found any Python-based scripts yet. I'm not sure what
other language-based scripts to be expecting, from the various ODF
implementors... :-) I heard someone asking the LibreOffice team to
support Guide-based scripting at a recent conference. :-|

I've been doing this code by reading the ODF spec, and studying data
from code output. I've not yet studied how AOO's current code handles
scripts. That's my next step. :-)

I don' t yet know which clients run the various scripts. If there is any
AOO or other org ODF script interop matrix data, I would very much
appreciate a pointer.

Thanks,
Lee

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: location of libraries/library/module/script DTDs?

2014-12-26 Thread Lee Fisher
| I'll dig up the specific filenames.

100016.odt
101028.odt
104556.odt
113481.odt
70065.odt
78691.odt
79664.odt
80654.odt
81045.odt
86470.odt

These are examples of documents have the parcel-descriptor.xml file in
the Scripts/ subdirectory of their package, which uses scripting.dtd.

I got these files second-hand, from a dump of the AOO bug database, but
I believe if you're good at the AOO bug database you could probably find
them there. I can email a zip with one/more of these documents to anyone
who wishes a copy.

Sorry, my tools isn't done dumping out a nice summary of the info yet.
:-) There are a LOT more files which use the script-lb.xml and
script-lc.xml files, which appear to be tied to StarBasic, mostly in the
Basic/* subdirectory of the package. A few of the above files have both
(Java or JavaScript scripts and StarBasic, so have all 3 XML files and
refer to all of the DTDs.

Thanks,
Lee

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Fwd: Warning from dev@openoffice.apache.org

2014-12-27 Thread Lee Fisher
I also just received one.

I've also received a warning from the user list a few days ago.

Since I'm using gmail as my provider, I'm not sure how to respond to the
warning, gmail admins should be receiving this warning if their service
is failing.

This email account is only used to subscribe to the openoffice and
libreoffice mailing lists, nothing else.

Why the warning? How to resolve things?

Thanks,
Lee

On 12/27/2014 08:42 AM, Emanuele wrote:
 Hi,

 sorry to bother, I receive messages like the following every once in a
 while (the last one was a couple of months ago).

 Looks pretty similar to:
 https://issues.apache.org/jira/browse/INFRA-8433

 I'm not sure if it is generalized or just me.

 Is there anything I can do on my side?
 Is it worth reporting when it happens?

 Thanks.

 Best regards,
 Emanuele



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: location of scripting.dtd?

2014-12-27 Thread Lee Fisher
 [...] The files listed below are not conventional files used in ODF
packages.
 The basic ODF files do not use DTDs and files by those names are not
 part of the standard ODF document structure. [...]

The Apache OpenOffice source code does ship sample scripts with
parcel-descriptor.xml files, which refer to scripting.dtd. Two of the
DeveloperGuide/ScriptingFramework samples have them:

  ScriptSelector/ScriptSelector/parcel-descriptor.xml
  ScriptingFramework/SayHello/SayHello/parcel-descriptor.xml

Both refer to a scripting.dtd:

  parcel language=Java xmlns:parcel=scripting.dtd

Yet scripting.dtd is mising.

I did find some of the other DTDs I was looking for in the AOO sources,
and one that may be related:

  main/xmloff/dtd/script.mod may be (or have been) related.
  main/xmlscript/dtd has libraries.dtd, library.dtd, and module.dtd.

Still, no scripting.dtd that I can find in Apache OpenOffice SDK or
source. Perhaps this file was part of an earlier Sun/Oracle release,
that was deleted during the incubation process? (BTW, LibreOffice also
does not have this dtd.)

Thanks,
Lee

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: location of scripting.dtd?

2014-12-28 Thread Lee Fisher
Thanks very much for all the background on these scripting DTDs.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: ISO image of Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 ?

2018-09-24 Thread Lee Fisher
On 09/24/2018 11:12 AM, Matthias Seidel wrote:
> [...] Support has ended and MS has pulled it from their server.
> [...]This is a major problem now for developers who want to
> set up a new building machine.[...]

Reliance on ancient/deprecated toolchain from a vendor -- who is known
for removing old versions of unsupported tools -- seems to be a major
problem.

Have you looked at the Windows dev VM that they've started in recent
months?

https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

It is a VM with recent builds of OS + SDK + WDK + VisualStudio installed.

It is available in VirtualBox and VMware formats, not just Hyper-V.

Having the MS tools preinstalled may save time to AOO contributors.

It is a large download, about 16gig, perhaps too big for some
contributors to easily download??

The VM is trialware, expires in a few months, so you have to download a
new VM ever few months.

I wonder how long Microsoft will decide to support this dev VM? Maybe it
is too soon to start relying on it? :-(

If the goal is to only to use ancient, deprecated tools, not just the
latest available binaries from the vendor, then this VM won't help.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Optional Typewriter Sounds

2019-04-02 Thread Lee Fisher
If keyboard sfx emulator is not working, Unicomp bought IBM's keyboard
business, you can buy a new "IBM" keyboard, no emulator needed. They
optionally address issues like modern (USB) connector and the Windows
and Office keys.

Unicomp: https://www.pckeyboard.com/

On 4/2/19 10:26 AM, Dave Nelson wrote:

> Lovely idea, Philipp,
> I've just tried installing the snap on my Ubuntu Studio 18.10 and have
not yet got it working.
> But the idea is really lovely. Personally, I learned to type on an IBM
92. :-D
> Dave
>[...]


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org