[oXygen-user] Re: oXygen-user Digest, Vol 57, Issue 7

John Kelly
Tue Jun 3 10:25:32 CDT 2008


Hi all,

Has anyone else on the digest view of this list noticed that the text  
of most posts gets repeated within that post? For instance, posts 1, 2  
and 4 have the text occurring twice, whereas posts 3 and 5 don't.

Thanks,
. John


On Jun 3, 2008, at 7:25 AM,  wrote:

Send oXygen-user mailing list submissions to
	

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.oxygenxml.com/mailman/listinfo/oxygen-user
or, via email, send a message with subject or body 'help' to
	

You can reach the person managing the list at
	

When replying, please edit your Subject line so it is more specific
than "Re: Contents of oXygen-user digest..."
Today's Topics:

   1. Re: Feature Request: Control-click type and ref	attribute
      values in xsd editor to jump around the schema (George Cristian  
Bina)
   2. Re: Feature Request: Control-click type and ref	attribute
      values in xsd editor to jump around the schema (Andrew Welch)
   3. Re: different results using TRANG directly and from	within
      oXygen (Sorin Ristache)
   4. Re: Feature request: Extend the project functionality!
      (Sorin Ristache)
   5. RE: different results using TRANG directly and	fromwithin
      oXygen (Theun Fleer)

From: George Cristian Bina <>
Date: June 3, 2008 4:39:04 AM PDT
To: Andrew Welch <>
Cc: Oxygen User <>
Subject: Re: [oXygen-user] Feature Request: Control-click type and ref  
attribute values in xsd editor to jump around the schema


Hi Andrew,

The action is available also in the editor. It is named "Show  
Definition" and it is available from the contextual menu or you can  
invoke it with CTRL+Shift+Enter (configurable to a different shortcut  
in Options->Menu Shortcut keys).

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Andrew Welch wrote:
> Hi,
> Would it be possible to make type and ref attributes in the xsd editor
> clickable so that control clicking them jumps to their targets?
> For example:
> 1. <xs:element name="foo" type="foo"/>
> 2.
> 3. <xs:complexType name="foo">
> 4.   <xs:sequence>
> 5.     <xs:element ref="foo"/>
> Clicking type="foo" at 1. jumps to line 3, and clicking ref="foo" at
> line 5. jumps back to line 1.
> I know you can do this currently using the diagram view, but it would
> be really useful if you could do it directly from within the editor.
> thanks

Hi Andrew,

The action is available also in the editor. It is named "Show  
Definition" and it is available from the contextual menu or you can  
invoke it with CTRL+Shift+Enter (configurable to a different shortcut  
in Options->Menu Shortcut keys).

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Andrew Welch wrote:
> Hi,
> Would it be possible to make type and ref attributes in the xsd editor
> clickable so that control clicking them jumps to their targets?
> For example:
> 1. <xs:element name="foo" type="foo"/>
> 2.
> 3. <xs:complexType name="foo">
> 4.   <xs:sequence>
> 5.     <xs:element ref="foo"/>
> Clicking type="foo" at 1. jumps to line 3, and clicking ref="foo" at
> line 5. jumps back to line 1.
> I know you can do this currently using the diagram view, but it would
> be really useful if you could do it directly from within the editor.
> thanks




From: "Andrew Welch" <>
Date: June 3, 2008 5:08:54 AM PDT
To: "George Cristian Bina" <>
Cc: Oxygen User <>
Subject: Re: [oXygen-user] Feature Request: Control-click type and ref  
attribute values in xsd editor to jump around the schema


2008/6/3 George Cristian Bina <>:
> Hi Andrew,
>
> The action is available also in the editor. It is named "Show  
> Definition"
> and it is available from the contextual menu or you can invoke it with
> CTRL+Shift+Enter (configurable to a different shortcut in Options- 
> >Menu
> Shortcut keys).

Ahh great - sorry for not noticing!

It would be nice/intuitive (for me at least) if when I hold down the
control key the attribute value becomes a hyperlink when you mouse
over it (just like the Java editor in Netbeans etc)

however, ctrl -> shift -> enter is perfectly fine - thanks.

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

2008/6/3 George Cristian Bina <>:
> Hi Andrew,
>
> The action is available also in the editor. It is named "Show  
> Definition"
> and it is available from the contextual menu or you can invoke it with
> CTRL+Shift+Enter (configurable to a different shortcut in Options- 
> >Menu
> Shortcut keys).

Ahh great - sorry for not noticing!

It would be nice/intuitive (for me at least) if when I hold down the
control key the attribute value becomes a hyperlink when you mouse
over it (just like the Java editor in Netbeans etc)

however, ctrl -> shift -> enter is perfectly fine - thanks.

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/




From: Sorin Ristache <>
Date: June 3, 2008 5:14:59 AM PDT
To: 
Subject: Re: [oXygen-user] different results using TRANG directly and  
from within oXygen
Reply-To: 


Hello,

The log4j system needs a set of initialization properties. You need to  
add the attached file called log4j.properties to the same lib folder  
where oxygen.jar, trang.jar, etc are located and to use the following  
classpath element in your Ant task:


    <classpath>
        <pathelement location="lib/oxygen.jar"/>
        <pathelement location="lib/xercesImpl.jar"/>
        <pathelement location="lib/log4j.jar"/>
        <pathelement location="lib/resolver.jar"/>
        <pathelement location="lib/trang.jar"/>
        <pathelement location="lib/"/>
    </classpath>


Regards,
Sorin


Theun Fleer wrote:
> hi Sorin
> now I get the following error messages:
> [java] log4j:WARN No appenders could be found for logger  
> (ro.sync.util.v).
> [java] log4j:WARN Please initialize the log4j system properly.
> [java] Exception in thread "main" java.lang.NoClassDefFoundError:  
> org/apache/xml/resolver/helpers/Debug
> [java]  at ro.sync.xml.parser.ParserCreator.A(Unknown Source)
> [java]  at ro.sync.xml.parser.ParserCreator.newXRNoValid(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource 
> .xml.sax.Jaxp11XMLReaderCreator.createXMLReader(Unknown Source)
> [java]  at  
> com.thaiopensource.relaxng.parse.sax.SAXParseable.parse(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource.relaxng.input.parse.SchemaBuilderImpl.parse(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource.relaxng.input.parse.SchemaBuilderImpl.parse(Unknown  
> Source)
> [java]  at  
> com.thaiopensource.relaxng.input.parse.ParseInputFormat.load(Unknown  
> Source)
> [java]  at  
> com.thaiopensource.relaxng.translate.Driver.doMain(Unknown Source)
> [java]  at com.thaiopensource.relaxng.translate.Driver.main(Unknown  
> Source)
> [java] Caused by: java.lang.ClassNotFoundException:  
> org.apache.xml.resolver.helpers.Debug
> ...etc...
> Any ideas why the log4j is not initialized properly?
> groet
> Theun
log4j.rootCategory= error, R

log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%r %p [ %t ] %c - %m%n



From: Sorin Ristache <>
Date: June 3, 2008 5:31:57 AM PDT
To: 
Subject: Re: [oXygen-user] Feature request: Extend the project  
functionality!
Reply-To: 


The project specific settings are highlighted in the Preferences  
dialog by displaying the name of the settings group with a bold font  
in the left hand tree of this dialog. This is especially useful when  
you load a project created by other person and you want to see quickly  
the project level settings.


Regards,
Sorin


Jan Nylund wrote:
> As it's now it's hard to find the project specific settings and if  
> you continue with a project created by another person it can be hard  
> to find all settings that have been made in that certain project.
> Br,
> Jan

The project specific settings are highlighted in the Preferences  
dialog by displaying the name of the settings group with a bold font  
in the left hand tree of this dialog. This is especially useful when  
you load a project created by other person and you want to see quickly  
the project level settings.


Regards,
Sorin


Jan Nylund wrote:
> As it's now it's hard to find the project specific settings and if  
> you continue with a project created by another person it can be hard  
> to find all settings that have been made in that certain project.
> Br,
> Jan




From: "Theun Fleer" <>
Date: June 3, 2008 7:43:24 AM PDT
To: <>
Subject: RE: [oXygen-user] different results using TRANG directly and  
fromwithin oXygen


hi Sorin

thanks a lot! works like a charm now!

Just for the record: we also generate XSDs from the same RELAX  
schemas. Is it wise to use the same jars in combination with TRANG for  
the conversion to XSDs? In other words: did you fix some bugs in that  
conversion too? :-)

I do not notice any diffs from the XSDs from TRANG directly and XSDs  
generated using oXygen. But I could have missed something... just to  
be sure.

groet
Theun

  _____

Van:  namens Sorin Ristache
Verzonden: di 3-6-2008 14:14
Aan: 
Onderwerp: Re: [oXygen-user] different results using TRANG directly  
and fromwithin oXygen



Hello,

The log4j system needs a set of initialization properties. You need to
add the attached file called log4j.properties to the same lib folder
where oxygen.jar, trang.jar, etc are located and to use the following
classpath element in your Ant task:


     <classpath>
         <pathelement location="lib/oxygen.jar"/>
         <pathelement location="lib/xercesImpl.jar"/>
         <pathelement location="lib/log4j.jar"/>
         <pathelement location="lib/resolver.jar"/>
         <pathelement location="lib/trang.jar"/>
         <pathelement location="lib/"/>
     </classpath>


Regards,
Sorin


Theun Fleer wrote:
> hi Sorin
> now I get the following error messages:
> [java] log4j:WARN No appenders could be found for logger  
> (ro.sync.util.v).
> [java] log4j:WARN Please initialize the log4j system properly.
> [java] Exception in thread "main" java.lang.NoClassDefFoundError:  
> org/apache/xml/resolver/helpers/Debug
> [java]  at ro.sync.xml.parser.ParserCreator.A(Unknown Source)
> [java]  at ro.sync.xml.parser.ParserCreator.newXRNoValid(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource 
> .xml.sax.Jaxp11XMLReaderCreator.createXMLReader(Unknown Source)
> [java]  at  
> com.thaiopensource.relaxng.parse.sax.SAXParseable.parse(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource.relaxng.input.parse.SchemaBuilderImpl.parse(Unknown  
> Source)
> [java]  at  
> com 
> .thaiopensource.relaxng.input.parse.SchemaBuilderImpl.parse(Unknown  
> Source)
> [java]  at  
> com.thaiopensource.relaxng.input.parse.ParseInputFormat.load(Unknown  
> Source)
> [java]  at  
> com.thaiopensource.relaxng.translate.Driver.doMain(Unknown Source)
> [java]  at com.thaiopensource.relaxng.translate.Driver.main(Unknown  
> Source)
> [java] Caused by: java.lang.ClassNotFoundException:  
> org.apache.xml.resolver.helpers.Debug
> ...etc...
> Any ideas why the log4j is not initialized properly?
> groet
> Theun





Drs. T. Fleer
Consultant
GSM: +31 (0)6 40 58 50 27


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig  
van Daidalos BV en is uitsluitend bestemd voor de geadresseerde.  
Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te  
verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.



<winmail.dat>

_______________________________________________
oXygen-user mailing list

http://www.oxygenxml.com/mailman/listinfo/oxygen-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20080603/0ff2520f/attachment.html 


More information about the oXygen-user mailing list