Search found 115 matches

by dsewell
Mon Jan 16, 2006 7:56 pm
Forum: Common Problems
Topic: Stack overflow problem with DTD -> RNG conversion
Replies: 2
Views: 2562

Stack overflow problem with DTD -> RNG conversion

I have a long TEI-compatible DTD that is not behaving properly when I use oXygen 7 to convert it to a RelaxNG schema (either XML or compact syntax). I don't have this problem when using Trang and Jing from the command line (using the jar files in the oXygen application directory). Platform is Mac OS...
by dsewell
Thu Jan 12, 2006 8:39 pm
Forum: Feature Request
Topic: XSLT functions added to pop-up list
Replies: 2
Views: 2462

george wrote:Hi David,

Good catch, we have only the XSLT 1.0 functions added (9 funtions). We will add also the 18 XSLT 2.0 functions.
Great, thanks!
by dsewell
Thu Jan 12, 2006 5:50 pm
Forum: Feature Request
Topic: XSLT functions added to pop-up list
Replies: 2
Views: 2462

XSLT functions added to pop-up list

This applies to the beta of oXygen 7. When editing an XSLT file, if one types for example <xsl:value-of select=""> a pop-up list appears containing all of the possible XPath functions and node types that could be used as the value of @select. But XSLT functions are not in the list. For example, for ...
by dsewell
Mon Jan 09, 2006 9:14 pm
Forum: Common Problems
Topic: Passing Saxon options to XQuery processor?
Replies: 2
Views: 3347

Passing Saxon options to XQuery processor?

I have been using the beta version of oXygen 7.0 (Mac OS X standalone). It appears that when executing an XQuery program using Saxon 8, oXygen does not pass to Saxon any serialization parameters declared in the XQuery prolog. For example, declare option saxon:output "indent=no"; These options are do...
by dsewell
Tue Nov 08, 2005 4:57 am
Forum: Other Issues
Topic: oXygen 6.2 nominated for Macworld Readers' Choice award
Replies: 0
Views: 4700

oXygen 6.2 nominated for Macworld Readers' Choice award

It's true! As a Macworld subscriber, I received an email asking for my vote in the annual Readers' Choice poll. There are two categories, Mac hardware and Mac software. I voted for the G5 iMac under hardware, and I wrote in oXygen 6.2 under software. Well, of couse, oXygen is not really a "Mac progr...
by dsewell
Tue Nov 08, 2005 4:51 am
Forum: General XML Questions
Topic: xquery help
Replies: 1
Views: 5586

if (empty($bb)) then "" else return <DtsResult> The problem is your "else" followed by "return". The XQuery syntax for if/then is "if (condition) then XQueryStatement else XQueryStatement". For example if ( true() ) then "yes" else "no" which produces the output string "no". But the following will ...
by dsewell
Fri Nov 04, 2005 8:26 pm
Forum: Other Issues
Topic: Sharing file bookmarks on different systems?
Replies: 1
Views: 3642

Sharing file bookmarks on different systems?

Is there any easy way to share file bookmarks when a file is transferred from one machine to another? (By "easy" I mean "easier than going into optionsSa6.2.xml and editing the bookMarkLocations data by hand.)
by dsewell
Mon Oct 10, 2005 4:10 pm
Forum: Feature Request
Topic: XHTML 2.0 template?
Replies: 2
Views: 2789

thanks!

I will look there.
by dsewell
Thu Oct 06, 2005 7:48 pm
Forum: Feature Request
Topic: XHTML 2.0 template?
Replies: 2
Views: 2789

XHTML 2.0 template?

Would it be insane to provide an oXygen template based on the in-progress Relax NG implementation of XHTML 2.0: http://www.w3.org/TR/xhtml2/xhtml20_relax.html#a_xhtml20_relaxng so people could use it for testing purposes? Unfortunately it doesn't look like W3C have provided all the schema modules as...
by dsewell
Thu Sep 29, 2005 4:15 pm
Forum: Common Problems
Topic: Commented XML processing instruction is processed (bug?)
Replies: 3
Views: 2188

Thanks!

thanks for the quick fix
by dsewell
Wed Sep 28, 2005 11:26 pm
Forum: Common Problems
Topic: Commented XML processing instruction is processed (bug?)
Replies: 3
Views: 2188

Another form of the bug

The processing instruction is also followed if I put junk in front of it:

Code: Select all

<!-- <?FOOBARoxygen SCHSchema="http://rotunda.upress.virginia.edu/Schemas/FE/GWP/GWP.sch"?> -->
So it appears that oXygen is simply looking for a string rather than distinguishing between a comment node and a PI node.
by dsewell
Wed Sep 28, 2005 11:21 pm
Forum: Common Problems
Topic: Commented XML processing instruction is processed (bug?)
Replies: 3
Views: 2188

Commented XML processing instruction is processed (bug?)

With oXygen 6.2, I get unexpected results if I validate a document whose first lines are like this: <?xml version="1.0"?> <?oxygen RNGSchema="FoundingEra-vendor.rng" type="xml"?> <!-- <?oxygen SCHSchema="GWP.sch"?> --> As you can see, I didn't want the Schematron schema to be used, so I commented it...
by dsewell
Tue Sep 20, 2005 5:08 pm
Forum: Common Problems
Topic: Side-by-side document windows in 6.2 for Mac?
Replies: 1
Views: 1674

Side-by-side document windows in 6.2 for Mac?

From the screenshots, it looks like it should be possible to have two or more document windows open in the same layout in the Editor view with oXygen 6.2. I just upgraded my OS X version, and the floating/auto-hide features for the other windows work fine, but I don't see a way to split the document...
by dsewell
Mon Aug 08, 2005 8:12 pm
Forum: Other Issues
Topic: XML catalogs for dummies
Replies: 3
Views: 12095

Thanks!

As always, a helpful response...
by dsewell
Fri Aug 05, 2005 5:55 pm
Forum: Other Issues
Topic: XML catalogs for dummies
Replies: 3
Views: 12095

XML catalogs for dummies

I am at the beginning stage of figuring out how XML catalogs work, and I just want confirmation that they will accomplish what I want to do: 1.I have created a directory tree of schemas and DTDs that are used by various XML documents I work with. This directory is on my local system and is also mirr...
by dsewell
Sat Jul 30, 2005 2:37 am
Forum: Common Problems
Topic: Bug in XPath 2.0 regular expression search
Replies: 4
Views: 3641

george wrote:we will consider anyway adding an option that when enabled will produce decoding of the standard XML entities <, >, &apos;, " and & and of the character entities from the XPath entry field.
If that's not too much trouble, I think it would be a helpful feature,

David
by dsewell
Fri Jul 29, 2005 6:52 pm
Forum: Common Problems
Topic: Bug in XPath 2.0 regular expression search
Replies: 4
Views: 3641

XPath syntax

Well, I think that technically according to the XPath specification (even for XPath 1.0) a string is a sequence of characters as defined in the XML specification (see http://www.w3.org/TR/xpath#strings), so that in fact an XPath parser should treat these as identical: contains("CAT", "A") = contains...
by dsewell
Fri Jul 29, 2005 3:57 am
Forum: Common Problems
Topic: Bug in XPath 2.0 regular expression search
Replies: 4
Views: 3641

Bug in XPath 2.0 regular expression search

Consider this XML document: <?xml version="1.0" encoding="UTF-8"?> <test> <string>A dog</string> <string>a cat</string> </test> I want to match the text node containing ASCII 'A' using an XPath 2.0 expression in the oXygen 6.1 XPath search box. This works: //text()[matches(., "A")] but this returns ...
by dsewell
Fri Apr 22, 2005 3:53 pm
Forum: Feature Request
Topic: Relax NG validity check for ID/IDREF
Replies: 7
Views: 10474

Great, then I'll look forward to the next release,

David
by dsewell
Thu Apr 21, 2005 11:21 pm
Forum: Feature Request
Topic: Relax NG validity check for ID/IDREF
Replies: 7
Views: 10474

Add option to select "jing" vs "jing -i"

George, I've just discovered a place where it's a problem if jing is used without the -i parameter for validation. It prevents oXygen from using the current OASIS Open Document Relax NG schema (which will be the schema for the document format used by OpenOffice 2.0, etc.). Try downloading http://www...
by dsewell
Wed Mar 16, 2005 5:03 pm
Forum: Common Problems
Topic: Bug in attribute completion with RelaxNG
Replies: 3
Views: 3830

Thanks

Thanks as always for the quick attention to bug reports,

David
by dsewell
Tue Mar 15, 2005 1:38 am
Forum: Common Problems
Topic: Bug in attribute completion with RelaxNG
Replies: 3
Views: 3830

Bug in attribute completion with RelaxNG

I've just discovered a bug with atttribute completion when editing a document against a particular Relax NG schema (XML syntax, but it's the same with the compact syntax version): http://lister.ei.virginia.edu/~drs2n/Temp/FoundingEra.rng There is one element, <time>, whose @type attribute is defined...
by dsewell
Fri Feb 18, 2005 10:53 pm
Forum: Common Problems
Topic: Problem with syntax coloring when printing XQuery code
Replies: 1
Views: 2193

Problem with syntax coloring when printing XQuery code

Running oXygen 5.1 under Mac OS X, the syntax coloring for XQuery code is fine on screen, but when the code is printed the coloring is completely wrong -- mostly solid lines of blue or red, with a few mixed lines, in no pattern that I can figure out. Color printing is fine for XML and XLST on my sys...
by dsewell
Fri Feb 04, 2005 11:06 pm
Forum: Common Problems
Topic: Bug with Relax NG to XSD conversion
Replies: 2
Views: 2855

Bug with Relax NG to XSD conversion

Hi, When converting from a Relax NG schema to W3C XML Schema, one of the advanced options is a "disable-abstract-elements" checkbox. By default it is unchecked. Today I needed to create an XML schema without abstract elements (i.e., no abstract="true" attributes), so I checked the box, but the outpu...
by dsewell
Thu Jan 27, 2005 7:34 am
Forum: Common Problems
Topic: Schematron position() bug
Replies: 4
Views: 3239

Thanks for the explanation!
by dsewell
Wed Jan 26, 2005 6:02 pm
Forum: Common Problems
Topic: multiple entries in Mac OS X contextual menu
Replies: 3
Views: 3860

Thanks for that tip! It worked perfectly.
by dsewell
Wed Jan 26, 2005 5:29 pm
Forum: Common Problems
Topic: Schematron position() bug
Replies: 4
Views: 3239

Thanks, but confused

George, thanks for the revised Schematron rule. I am still confused about whether the Skeleton 1.5 validation is correct or buggy. If I write an XSLT script to report position() for each row in the sample XML file: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1...
by dsewell
Wed Jan 26, 2005 7:02 am
Forum: Common Problems
Topic: multiple entries in Mac OS X contextual menu
Replies: 3
Views: 3860

I haven't seen this with oXygen, but I have the exact same problem with Adobe Acrobat. In that case I think the Adobe installer program may be guilty. I don't think I've ever seen this with a program that you install by moving it into the Applications folder. I don't know what the fix is to get rid ...
by dsewell
Wed Jan 26, 2005 6:41 am
Forum: Common Problems
Topic: Schematron position() bug
Replies: 4
Views: 3239

Schematron position() bug

It seems that the Schematron validation included with oXygen has a bug involving XPath tests with position(). Consider this sample XML file: <test> <table> <row n="1"> <cell>one</cell> <cell>two</cell> </row> <row n="2"> <cell>un</cell> <cell>deux</cell> </row> <row n="3"> <cell>uno</cell> <cell>dos...
by dsewell
Wed Jan 19, 2005 2:13 am
Forum: Common Problems
Topic: Not a Problem!
Replies: 2
Views: 2334

Oops

That should have begun, "There's no topic area for posts ...