Search found 124 matches

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

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: 2260

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: 2959

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: 3366

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: 3962

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: 3366

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: 3962

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: 3366

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: 2434

Oops

That should have begun, "There's no topic area for posts ...
by dsewell
Wed Jan 19, 2005 2:12 am
Forum: Common Problems
Topic: Not a Problem!
Replies: 2
Views: 2434

Not a Problem!

There's no topic area posts that are not feature requests or complaints... this is praise instead: the 5.1 release is really nice. I spent a big chunk of the day extending a Relax NG schema I was working on by adding Schematron tests to it, and oXygen made it simple to associate both the Relax NG an...
by dsewell
Tue Dec 07, 2004 6:03 pm
Forum: Feature Request
Topic: Relax NG validity check for ID/IDREF
Replies: 7
Views: 10605

Thanks!
by dsewell
Tue Dec 07, 2004 4:04 pm
Forum: Feature Request
Topic: Relax NG validity check for ID/IDREF
Replies: 7
Views: 10605

It can probably just be enabled. If someone is using attribute values of datatype ID or IDREF they would want to have them checked when they validate a document instance.
by dsewell
Fri Dec 03, 2004 2:15 am
Forum: Feature Request
Topic: Relax NG validity check for ID/IDREF
Replies: 7
Views: 10605

Relax NG validity check for ID/IDREF

When using oXygen 5.0 to validate an XML document against a Relax NG schema (.rng or .rnc), the validation does not check to see that an attribute with a value of type IDREF or IDREFS points to one or more ID attribute values within the document. The Jing validator used by oXygen allows the user to ...
by dsewell
Tue Nov 30, 2004 5:02 pm
Forum: Common Problems
Topic: Relax NG slowness
Replies: 3
Views: 2716

Location of schema not the problem

Octavian, In fact I was using a local copy of the Relax NG schema, so my XML file begins like this: <?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="file:/Volumes/Homes/Users/drs2n/Temp/00P5test/testall.compiled.rnc" type="compact"?> <TEI xmlns="http://www.tei-c.org/ns/1.0"> If you can't r...
by dsewell
Mon Nov 29, 2004 9:23 pm
Forum: Common Problems
Topic: Relax NG slowness
Replies: 3
Views: 2716

Relax NG slowness

I have recently started experimenting with oXygen and some complex Relax NG schemas (notably, the current draft version of the full schema for the P5 version of TEI, which will use Relax NG as its base schema language). Validation and tag insight work fine, but oXygen is very slow in opening files w...
by dsewell
Sat Nov 27, 2004 6:53 am
Forum: Feature Request
Topic: RelaxNG and tag insight?
Replies: 2
Views: 4193

OK, this is working for me now

The autocompletion, etc., is working with a Relax NG schema now. I don't know why it didn't the first time--I am pretty sure I had associated my XML file with a schema and validated it. But I could be wrong.
by dsewell
Thu Nov 25, 2004 8:05 am
Forum: Feature Request
Topic: RelaxNG and tag insight?
Replies: 2
Views: 4193

RelaxNG and tag insight?

Is there a possibility that tag insight features (autocompletion, etc.) will be available when using a RelaxNG schema, in a future release of oXygen?
by dsewell
Wed Oct 27, 2004 6:46 pm
Forum: Feature Request
Topic: Delete tag at cursor
Replies: 1
Views: 3942

Delete tag at cursor

I think it would be useful to have a right-click option that would allow one to delete the tag at the cursor, but not the contents of the tag. For example:

Code: Select all

<foo>A few words</foo>
Click inside "<foo>", select "delete tag at cursor", with the result that "A few words" remains with no surrounding tag.
by dsewell
Sat Oct 09, 2004 9:44 am
Forum: Common Problems
Topic: How to validate a recursive XML?!?!
Replies: 1
Views: 3153

xmllint works okay for me

I tested the example you provided, and xmllint gave an error message for the invalid files. What form of the command did you use? Note that xmllint --noout file.xml only checks for well-formed XML. It does not use the DTD. You must use: xmllint --noout --valid file.xml to test the validity. (You can...
by dsewell
Tue Sep 07, 2004 8:29 pm
Forum: Feature Request
Topic: "Soft" indenting on a per-element basis
Replies: 2
Views: 4572

Thanks

This looks like a good work-around.

David
by dsewell
Mon Sep 06, 2004 11:06 pm
Forum: Feature Request
Topic: "Soft" indenting on a per-element basis
Replies: 2
Views: 4572

"Soft" indenting on a per-element basis

It would be useful to have an option to indent certain elements in the editor view without inserting an actual linebreak + indentation in the underlying XML. This need arises most often with mixed-content XML, for example using TEI markup. Consider the typical case of marking text that reads "I saw ...
by dsewell
Fri Aug 20, 2004 6:17 pm
Forum: Feature Request
Topic: Attrbiutes in Outliner Panel
Replies: 1
Views: 3331

Attrbiutes in Outliner Panel

In the Outliner Panel, each entry gives the element name followed by the value of the first attribute. It would be nice if the display of attributes could be configurable, so that more than one attribute could be shown (and possibly attribute names as well). For example, if I have a document with a ...
by dsewell
Fri May 28, 2004 6:57 pm
Forum: Common Problems
Topic: Sloooow XPath evaluation with large files
Replies: 5
Views: 3798

George -- I will email a file to support. If I use the Xalan transformer in the XSLT configuration instead of the Saxon, it processes the XSLT script to return /foo/bar/baz in about 4 seconds (compared to 6 for Saxon). The choice of XSLT transformer should not affect the behavior of the XPath toolba...
by dsewell
Thu May 27, 2004 9:02 pm
Forum: Common Problems
Topic: Sloooow XPath evaluation with large files
Replies: 5
Views: 3798

More details

There are delays with any XPath expression. The ones that return a lot of results are somewhat slower than an expression that returns a single node or only a few nodes. Or if I enter an XPath expression that points to a nonexistent node like /foo/bar/baz, it also takes a very long time to return a n...
by dsewell
Wed May 26, 2004 12:51 am
Forum: Common Problems
Topic: Sloooow XPath evaluation with large files
Replies: 5
Views: 3798

Sloooow XPath evaluation with large files

oXygen takes a very long time to evaluate and return an XPath expression for large files. For example, with a 1.3 MB file it takes nearly a minute to evaluate //body in a TEI document, on a dual G4 Power Mac. The same XPath query takes under a second to process using the GNU libxslt2. Is this just a...
by dsewell
Thu May 13, 2004 7:23 pm
Forum: Feature Request
Topic: Feature request: Preserve empty lines in "format and in
Replies: 8
Views: 19086

Also, by-file option to preseve or strip space

Currently, you can set "Preserve space elements" and "Strip space elements" as a global option. This is fine if one is always working with the same schema or DTD. But a <p> element in one schema may not have the same content model as in another schema. So it would be nice to be able to associate the...
by dsewell
Tue May 11, 2004 5:34 am
Forum: Feature Request
Topic: Feature request (well, sort of)
Replies: 2
Views: 4396

Wouldn't it be possible to have Oxygen behave like all other Mac applications and have it remember where the last [open] or [save as] was in the directory structure? I'm using oXygen 4.0 under OS X 10.3 and it works this way. I remember the undesirable behavior from an earlier release, but the curr...
by dsewell
Sun May 02, 2004 5:54 am
Forum: Common Problems
Topic: XSLT stack overflow crashes oXygen 4.0
Replies: 1
Views: 3130

XSLT stack overflow crashes oXygen 4.0

The following applies to the new oXygen 4.0 release for Mac OS X. I stupidly created an XSLT script with the following code: <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="."></xsl:apply-templates> </xsl:copy> </xsl:template> This creates an infinite loop, and therefore a s...
by dsewell
Sat Apr 24, 2004 12:18 am
Forum: Feature Request
Topic: Oxygen 4
Replies: 7
Views: 5808

Re: oXygen 4 beta

Thanks for the pointer--I've subscribed to the list and downloaded the beta. Congratulations on the excellent and rapid development on oXygen! It has become a very stable and mature editing platform, and the people in my department have started abandoning our prior XML editors and we are all buying ...
by dsewell
Thu Apr 22, 2004 6:00 pm
Forum: Feature Request
Topic: Oxygen 4
Replies: 7
Views: 5808

Re: oXygen 4

Where did you get the beta version? Is there a beta testers' group?