Search found 83 matches

by sijomon
Thu May 20, 2010 2:08 pm
Forum: Common Problems
Topic: Elements view and NVDL
Replies: 3
Views: 1943

Re: Elements view and NVDL

Many thanks for following this up.

Glad to have it confirmed.

Simon.
by sijomon
Tue May 18, 2010 12:46 pm
Forum: Common Problems
Topic: Elements view and NVDL
Replies: 3
Views: 1943

Elements view and NVDL

Hi, Its been a little while since I worked with Oxygen, but I have another question which I'm stuck with and am hoping you can help. We have an XML document which uses NVDL validation. In order to trigger this validation we include the <?oxygen NVDLSchema> PI, and also remove the schemaLocation from...
by sijomon
Tue Feb 23, 2010 12:09 pm
Forum: Common Problems
Topic: Display not refreshing when undoing attribute updates
Replies: 6
Views: 2791

Re: Display not refreshing when undoing attribute updates

I had a feeling this undo issue would be related to the update issue you referenced (http://www.oxygenxml.com/forum/topic4228.html).

Thanks for the info.
by sijomon
Mon Feb 22, 2010 7:15 pm
Forum: Common Problems
Topic: Display not refreshing when undoing attribute updates
Replies: 6
Views: 2791

Re: Display not refreshing when undoing attribute updates

Yes the issue occurs if you edit the attribute via the attributes editor. A sample XML document that reproduces this error is: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="sample.css"?> <report> <paragraph-group> <paragraph id=...
by sijomon
Mon Feb 22, 2010 6:06 pm
Forum: Common Problems
Topic: Display not refreshing when undoing attribute updates
Replies: 6
Views: 2791

Display not refreshing when undoing attribute updates

Hi, I think I have found a bug in the 10.3 version, and just wanted to check it was on your radar (or possibly even fixed already), and also would like some advise about a work around given I am restricted to 10.3. If you display an attribute value in author mode using the CSS property "content...
by sijomon
Mon Feb 22, 2010 5:32 pm
Forum: Common Problems
Topic: User intercation in custom protocol handler
Replies: 4
Views: 2101

Re: User intercation in custom protocol handler

Thanks for the update.
by sijomon
Fri Feb 12, 2010 7:29 pm
Forum: Common Problems
Topic: Connection timeouts
Replies: 2
Views: 2289

Re: Connection timeouts

Thanks for the info. I think I'll just get the users to modify that property - 20s is a little short for the network here generally.

Thanks,

Simon.
by sijomon
Fri Feb 12, 2010 6:33 pm
Forum: Common Problems
Topic: Connection timeouts
Replies: 2
Views: 2289

Connection timeouts

Hi, I have a problem when attempting to connect to an extrernal web application from within an Author Operation. The external web app can take several minutes to return a result, and therefore I have set the readTimeout and connectionTimeout to be 10 minutes. Unfortunately my timeout values seem to ...
by sijomon
Fri Feb 05, 2010 11:49 am
Forum: Common Problems
Topic: Preventing split with using styles
Replies: 2
Views: 1493

Re: Preventing split with using styles

Ok, good to know. I have implemented a minimal DocumentFilter to supress the specific split case I'm interested in.

Thanks for the infor,

Simon.
by sijomon
Thu Feb 04, 2010 4:23 pm
Forum: Common Problems
Topic: Preventing split with using styles
Replies: 2
Views: 1493

Preventing split with using styles

Hi, Yet another query. I have a document, which is generally to be treated as read-only, within it is a node which is to be treated as read/write. I was originally intending to enforce this using a DocumentFilter to supress all edit events that occured out side of the target node, however I discover...
by sijomon
Wed Feb 03, 2010 3:31 pm
Forum: Common Problems
Topic: CSS, Selecting nodes preceeded by processing instructions
Replies: 4
Views: 2680

Re: CSS, Selecting nodes preceeded by processing instructions

Many thanks for the fast and clear response, this is exactly what I needed.

Simon.
by sijomon
Wed Feb 03, 2010 2:53 pm
Forum: Common Problems
Topic: CSS, Selecting nodes preceeded by processing instructions
Replies: 4
Views: 2680

Re: CSS, Selecting nodes preceeded by processing instructions

Thanks for the answers. My actual requirement is a little more complex than I first described. I will be using two processing instructions, one at the start of a document which identifies that the document should be treated as readonly. The second identifes a subsection of the document which should ...
by sijomon
Tue Feb 02, 2010 3:12 pm
Forum: Common Problems
Topic: CSS, Selecting nodes preceeded by processing instructions
Replies: 4
Views: 2680

CSS, Selecting nodes preceeded by processing instructions

Hi, Couple of questions, thanks for any assistance you might be able to provide: 1) I am experimenting with Oxygen 11.1; is there somewhere I can go to get a list of all the API changes from one version of the API to the next? 2) I am attempting to build a CSS which will apply a style to any element...
by sijomon
Thu Jan 21, 2010 3:10 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Re: Getting 'raw' xml of a node

Just spotted the OMIT_XML_DECLARATION property, that is much better than my solution, so the code now look like: /** * This class reformats the supplied XML (which must be valid) by * the insertion of additional indentation whitespace to make the * XML more readable. The {@link Transformer} class is...
by sijomon
Thu Jan 21, 2010 3:02 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Re: Getting 'raw' xml of a node

FYI, I did something similar to what you suggested, but used the javax.xml.transform.Transformer class, with the OutputKeys.INDENT property set. The code is as follows: /** * This class reformats the supplied XML (which must be valid) by * the insertion of additional indentation whitespace to make t...
by sijomon
Thu Jan 21, 2010 1:44 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Re: Getting 'raw' xml of a node

Thanks for the suggestions.
by sijomon
Thu Jan 21, 2010 1:18 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Re: Getting 'raw' xml of a node

Hi, still got a slight problmns here. The XML returned from the serializeFragmentToXML() method isn't quite the same as that which appears in the text mode; specifically it doesn't have the same inter tag whitespace, ie. it's not tab indented in the same way. I assume this is because this method is ...
by sijomon
Wed Jan 20, 2010 5:56 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Re: Getting 'raw' xml of a node

Excellent, that's made things a lot easier.

Many thanks.
by sijomon
Wed Jan 20, 2010 4:27 pm
Forum: Common Problems
Topic: Getting 'raw' xml of a node
Replies: 8
Views: 3446

Getting 'raw' xml of a node

Hi there, I need to obtain, for either a AuthorNode, AuhtorElement or (preferably) AuthorDocumentFragment instance, the 'raw' XML of the object; i.e. the XML as it would appear in text mode. There doesn't appear to be a method for this; is there one? If not, the solution I have is to reconstitute th...
by sijomon
Tue Jan 19, 2010 6:57 pm
Forum: Common Problems
Topic: Diff tool filename problems
Replies: 2
Views: 1644

Re: Diff tool filename problems

Thanks for the definitive answer.
by sijomon
Tue Jan 19, 2010 1:33 pm
Forum: Common Problems
Topic: Diff tool filename problems
Replies: 2
Views: 1644

Diff tool filename problems

Hi, I have another query. As ever, if this has been covered elswhere my appologies. I am opening files usign a webservice with a custom URL, a URL looks like this: athenaws://localhost:9090/athena/services/fileservice/ecc912_2.xml%20V:3%20READONLY?docid=3f35db48-1e19-47b0-ad6e-146fc7779f85&versi...
by sijomon
Tue Jan 19, 2010 1:14 pm
Forum: Common Problems
Topic: Making a file readonly
Replies: 3
Views: 1874

Re: Making a file readonly

Thanks for the info. Unfortunately we will be using 10.3 for the forseeable future (regression testing cost/time will scupper any upgrade plans I suspect).
by sijomon
Fri Jan 15, 2010 7:01 pm
Forum: Common Problems
Topic: Making a file readonly
Replies: 3
Views: 1874

Making a file readonly

Hi, Happy new year one and all, I am using the method AuthorWorkspaceAccess.open(URL) to open a number of files from an within an author operation. I need for some of these files to be treated as readonly. Is there any direct support for informing Oxygen that certain documents should be treated as r...
by sijomon
Wed Dec 02, 2009 6:25 pm
Forum: Common Problems
Topic: Unicode attribute values
Replies: 1
Views: 1406

Unicode attribute values

Hi, Our users require that they can input unicode characters into attribute values via the Author mode; is this possible? The built in unicode widget cannot be used, as it and the attribute editor widget cannot be displayed at the same time, and I can't seem to find a way to override or modify the i...
by sijomon
Wed Nov 18, 2009 5:22 pm
Forum: Common Problems
Topic: Live AuthorNode offset values.
Replies: 1
Views: 1135

Live AuthorNode offset values.

Hi, I have a search component I am building. It searches through the document for text strings that match a cerai regular expression, and then stores the AuthorNode in which the match occurs and the offset from the start of the node to the start of the matching text. This way I can find the node and...
by sijomon
Tue Nov 17, 2009 1:07 pm
Forum: Common Problems
Topic: Content index to document index
Replies: 5
Views: 2363

Re: Content index to document index

Hi,

I believe matches is part of XPath 2.0

http://www.w3.org/TR/xpath-functions/#func-matches

Either way, it does work as an XPath expression in Oxygen, and I am now succesfully identiying the start and end of the mathces in the document.

Many Thanks,

Simon.
by sijomon
Mon Nov 16, 2009 5:49 pm
Forum: Common Problems
Topic: Content index to document index
Replies: 5
Views: 2363

Re: Content index to document index

Think I can use XPath. A bit of research, and it appears the xpath expression: //text()[matches(., "<REGEX>")] Will identify all text node which match the regex. Then I can grab the offset of the text node start, using AuthorNode.getStartOffset(), then I can run the text noide's content th...
by sijomon
Mon Nov 16, 2009 5:18 pm
Forum: Common Problems
Topic: Content index to document index
Replies: 5
Views: 2363

Re: Content index to document index

I want to search across all text within the document, and don't know what node migth contain the matches I'm interested in. For example, say I am searchign for URLs, I want to find all text in the document that looks like a URL, regardless of where in the document that text occurs. My knowledge of X...
by sijomon
Mon Nov 16, 2009 3:14 pm
Forum: Common Problems
Topic: Content index to document index
Replies: 5
Views: 2363

Content index to document index

Hi, I'm pretty sure I've seen this issue covered, at least partially, in another post I read sometime back, but I can't find it, so sorry if I'm duplicating stuff here. I and builidng an operation which shows the user a list of all tags of a certain type within the current document, and allows them ...
by sijomon
Fri Nov 13, 2009 6:08 pm
Forum: Common Problems
Topic: Invoking Author Operation programatically
Replies: 2
Views: 1468

Re: Invoking Author Operation programatically

Ok, that's pretty much what I thought; thanks for the confirmation.

Simon.