Search found 51 matches

by sanderson
Wed Oct 25, 2017 7:30 pm
Forum: Common Problems
Topic: Is Open/Find Resource available in the Eclipse Plugin?
Replies: 5
Views: 2702

Re: Is Open/Find Resource available in the Eclipse Plugin?

Yes, that would be helpful, but no, that's not what I was referring to.

In the Open/Find Resource, I can do things like title:string where I'm looking for string in a title element.
by sanderson
Mon Oct 23, 2017 8:46 pm
Forum: Common Problems
Topic: Is Open/Find Resource available in the Eclipse Plugin?
Replies: 5
Views: 2702

Re: Is Open/Find Resource available in the Eclipse Plugin?

Thanks. The other big missing piece, for me, in the Eclipse resource search is the ability to search specific elements.
by sanderson
Fri Oct 20, 2017 9:39 pm
Forum: Common Problems
Topic: Is Open/Find Resource available in the Eclipse Plugin?
Replies: 5
Views: 2702

Is Open/Find Resource available in the Eclipse Plugin?

I'm trying out the Eclipse plugin, but I can't find the "Open/Find Resource" in Eclipse. Does it exist?
by sanderson
Fri Jun 10, 2011 7:18 pm
Forum: Other Issues
Topic: Licensing and generating schema documentation
Replies: 1
Views: 1377

Licensing and generating schema documentation

I'd like to add the schema generation tool to my builds, builds available to everyone in my company, but I do not have a site license for oxygen (I have several individual licenses for members of my team). I noticed in the scripts the Java call depends on oxygen.jar and saxon9ee.jar, both with are l...
by sanderson
Mon Jan 31, 2011 11:31 pm
Forum: Other Issues
Topic: Opening PHP file as HTML
Replies: 1
Views: 1497

Opening PHP file as HTML

I'm sure this is obvious, but I can't figure it out.

I want to be able to open a file with the .php extension and treat it as an HTML page in oxygen. I mostly want this so I can use the author mode to track changes.

How can I do it?
by sanderson
Thu Feb 04, 2010 8:53 pm
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Re: Saxon XQuery - using catalogs

Now that's a great solution. Here's what I did. Copied Apache's resolver.jar into lib/endorsed Copied my CatalogManager.properties into lib/endorsed and updated it to match the new path Added those two files to my XQuery scenario's extensions And it worked! Now I have an environment that allows me t...
by sanderson
Wed Feb 03, 2010 10:40 pm
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Re: Saxon XQuery - using catalogs

I created a new jar file. It contains all the files that are in Apache's resolver.jar plus my CatalogManager.properties. I added the new jar file as an extension to my query. I reran the query. Same error. Just to verify, I changed the parser= setting in my collection to parser=ro.sync.xml.parser.Ca...
by sanderson
Mon Feb 01, 2010 9:22 pm
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Re: Saxon XQuery - using catalogs

If I use that resolver, though, I lose the ability to run the parser in other environments, such as from the command-line.

Do I have any other options?
by sanderson
Thu Jan 28, 2010 8:05 pm
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Re: Saxon XQuery - using catalogs

...I've specified the catalog I want to use in the preferences for XML Catalog. It works for XSLT, just not for XQuery. In my case, the catalog entry is like this: <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public"> <group xml:base="dtd/"> ......
by sanderson
Thu Jan 28, 2010 2:05 am
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Re: Saxon XQuery - using catalogs

Rephrasing, for clarity I depend on catalogs for resolving DTDs in my XML files. I've specified the catalog I want to use in the preferences for XML Catalog. It works for XSLT, just not for XQuery. The specific error I get is this: SystemID: /xquery/find_topicrefs_w_href_w_child_topicref.xquery Engi...
by sanderson
Wed Jan 27, 2010 8:21 pm
Forum: Other Issues
Topic: Saxon XQuery - using catalogs
Replies: 10
Views: 7388

Saxon XQuery - using catalogs

I depend on catalogs for resolving DTDs in my XML files. When I use Saxon for xquery at the command-line, I include a -x and a -r option (-r:org.apache.xml.resolver.tools.CatalogResolver -x:org.apache.xml.resolver.tools.ResolvingXMLReader). I found that I can specify the -r option in the Saxon advan...
by sanderson
Tue Nov 25, 2008 7:43 pm
Forum: Common Problems
Topic: Find dialog, XPath, and attributes
Replies: 1
Views: 2011

Find dialog, XPath, and attributes

I love being able to limit searches using XPath in the find dialog. However, either I'm using it wrong, or I can't use it to limit the search to values in attributes. Here's the kind of thing I'm doing. First the source: <relcell> <topicref href="..\homepage\home_taskbar.xml">foo\bar</topi...
by sanderson
Tue Nov 25, 2008 12:24 am
Forum: Other Issues
Topic: "Find in Files" xpath
Replies: 14
Views: 15534

Re: "Find in Files" xpath

That did the trick. Thanks.
by sanderson
Fri Nov 21, 2008 12:23 am
Forum: Other Issues
Topic: "Find in Files" xpath
Replies: 14
Views: 15534

Re: "Find in Files" xpath

Code: Select all

collection('?recurse=yes;select=file:///C:/dev/doc/156/patch/core/ja/xmlsource/dev_guides/apex/classes/')//ph/varname
Fails with the same error, too. As does file:/C:..., file://C:...

Changing the forward slashes into back-slashes results in an invalid URI error.
by sanderson
Wed Nov 19, 2008 8:12 pm
Forum: Other Issues
Topic: "Find in Files" xpath
Replies: 14
Views: 15534

Broken in v10 (Re: "Find in Files" xpath)

When I try this solution now, I get an error message XPath failed eud to: collection catalogue must contain top-level element <collection> Any tips on how to get this back? I know I can use an xquery file to do the same thing, but this is just so handy for me that I'll really miss it if I lose this ...
by sanderson
Tue Apr 29, 2008 8:09 pm
Forum: Common Problems
Topic: Use the Eclipse XML Catalog in the oxygen plugin
Replies: 7
Views: 5001

Re: Use the Eclipse XML Catalog in the oxygen plugin

That'd be great. The reason I ask is that some of the plugins I use have the schema in the plugin jar file. To use it in oxygen, I have to find that xsd, extract it from the plugin file, copy it somewhere else, then add it to the oxygen catalog. Then, if the plugin is updated, I have to remember to ...
by sanderson
Tue Apr 29, 2008 1:08 am
Forum: Common Problems
Topic: Use the Eclipse XML Catalog in the oxygen plugin
Replies: 7
Views: 5001

Use the Eclipse XML Catalog in the oxygen plugin

I have an Eclipse plugin that defines some schemas in the Eclipse XML catalog. I'd like to figure out how to get oxygen in Eclipse to use that catalog as well as the ones I've defined. That probably doesn't make a lot of sense. Let me walk you through it. In Eclipse, go to Windows -> Preferences. In...
by sanderson
Wed Apr 16, 2008 6:44 pm
Forum: Other Issues
Topic: External tools - multiple commands possible?
Replies: 2
Views: 3379

Re: External tools - multiple commands possible?

If I used a batch file, and I wanted to change the external tool command, I'd have to find and edit the batch file. If that was a quick one-off change, I'd have to then revert my change. If I could string together multiple commands in the oxygen external tool command, it'd all be right there, and it...
by sanderson
Tue Apr 15, 2008 7:03 pm
Forum: Feature Request
Topic: Commandline or library diff tool
Replies: 6
Views: 7019

Re: Commandline or library diff tool

I'm a big supporter of this request. I'd love to be able to use the diff tool as a command-line tool that generates XML output of the diff rather than displaying a UI. Here's one of the things I'd like to use it for - we use Epic for our XML documentation authoring. Sometimes we get a person off of ...
by sanderson
Tue Apr 15, 2008 6:57 pm
Forum: Other Issues
Topic: External tools - multiple commands possible?
Replies: 2
Views: 3379

External tools - multiple commands possible?

I'm really starting to use the external tools option, which allows me to make oXygen the center of my world. One problem I'm running into, though, is that I can't string multiple commands together. This is in WinXP, with stand-along oXygen. For example, I'd like to have the following external tool c...
by sanderson
Fri Apr 11, 2008 11:45 pm
Forum: Feature Request
Topic: Allow external tools to work off items in the project view
Replies: 3
Views: 3490

Re: Allow external tools to work off items in the project view

Great, I'll look forward to the new variable. Using ${pd} for my case doesn't really work.

Regarding ${pd}, though, is that the directory of the project file, or the file selected in the project view?
by sanderson
Tue Apr 08, 2008 12:39 am
Forum: Feature Request
Topic: Allow external tools to work off items in the project view
Replies: 3
Views: 3490

Allow external tools to work off items in the project view

I love using the external tools options. One of the things I use it for is checking files out of perforce. Right now I open the file in the editor, then select the external tool for checking the file out. What I'd like to be able to do is select 4 or 5 files, or a directory, in the project view, and...
by sanderson
Wed Mar 26, 2008 7:02 pm
Forum: Feature Request
Topic: Save scenarios to disk for sharing with other users
Replies: 1
Views: 2355

Save scenarios to disk for sharing with other users

I often want to share a particular debug scenario with someone else. I can't do that without sharing my project with them, which doesn't work too well. It'd be great to be able to share scenarios to a file that I can send to another oxygen user via email. That user could then do something like "...
by sanderson
Wed Mar 26, 2008 6:57 pm
Forum: Feature Request
Topic: Save XPath for fast naigation buttons
Replies: 6
Views: 4167

Re: Save XPath for fast naigation buttons

Great.

It'd be really useful to be able to save them off, too, so that I can either share them with others, or create some kind of library for myself.
by sanderson
Wed Mar 26, 2008 12:27 am
Forum: Feature Request
Topic: Save XPath for fast naigation buttons
Replies: 6
Views: 4167

Re: Save XPath for fast naigation buttons

True, but you can't save that between invocations of oxygen.
by sanderson
Tue Mar 04, 2008 12:26 am
Forum: Common Problems
Topic: XPath over a collection of XHTML files - 503 error
Replies: 7
Views: 4008

Re: XPath over a collection of XHTML files - 503 error

Thanks, works like a charm.

Why is there an oxygen mailing list and these forums? Shouldn't it be one or the other?
by sanderson
Tue Feb 26, 2008 8:50 pm
Forum: XSLT and FOP
Topic: i want to change element name
Replies: 1
Views: 3044

Re: i want to change element name

Try using the (untested) XSLT below <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- The identity transform --> <xsl:template match="/ | @* | node()"> <xsl:copy> <xsl:apply-te...
by sanderson
Tue Feb 26, 2008 2:52 am
Forum: Common Problems
Topic: XPath over a collection of XHTML files - 503 error
Replies: 7
Views: 4008

Re: XPath over a collection of XHTML files - 503 error

Sadly, this didn't work. I ran into the same issue this afternoon. I can validate, but I can't run an xpath query.
by sanderson
Mon Feb 25, 2008 8:51 pm
Forum: Common Problems
Topic: XPath over a collection of XHTML files - 503 error
Replies: 7
Views: 4008

Re: XPath over a collection of XHTML files - 503 error

Of course that's the right solution, thanks for turning me towards it. Oxygen comes bundled with a catalog to do just that (frameworks\xhtml\dtd\xhtmlcatalog.xml) so I added it to my XML catalog in oxygen's preferences. I was surprised to see that there was no reference to any of the HTML dtds in th...
by sanderson
Sat Feb 23, 2008 1:28 am
Forum: Common Problems
Topic: XPath over a collection of XHTML files - 503 error
Replies: 7
Views: 4008

XPath over a collection of XHTML files - 503 error

Using XPath 2.0 in oxygen to find all instances of a particular XPath in a collection of XHTML files collection('?recurse=yes;select=*.htm')//dd//ul I get the following error: org.apache.commons.httpclient.HttpException: 503 Service Unavailable for: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona...