[oXygen-user] Schema Intellisense after Learn proglem

Karl Stubsjoen
Thu May 26 02:56:13 CDT 2011


Hi Radu,
No, I have not tried code templates yet, but I have been looking for them
(just passively).  I have to admit, I like the product more and more
everytime I use it, and I can only complain about a few items.
Code templates will be useful, thanks.
Karl..

On Thu, May 26, 2011 at 12:42 AM, Radu Coravu <> wrote:

> Hi Karl,
>
> I understand the use case, indeed it seems useful sometimes to switch
> between learning the XML and using the associated schema.
> It seems that older versions of Oxygen behaved like you suggested so
> somehow the behavior was lost in the newest versions. I added an issue
> to our issues list and we'll investigate.
>
> Have you tried our code templates support?
>
> http://www.oxygenxml.com/doc/ug-oxygen/topics/preferences-editor-code-templates.html
> They might also be useful to you.
>
> Regards,
> Radu
>
> Radu Coravu
> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> On 5/26/2011 9:46 AM, Karl Stubsjoen wrote:
> > When composing Xml from a schema it is adequate to work with schema
> > definition provided, but eventually your Xml "learns" more than your
> > schema.  For example, lets say you have an element item and an attribute
> > width on the item.  So you type this: <item width="24px">some
> > item</item>  then later you type this again with different width value
> > <item width="32px">some item</item>..  Perhaps you are going to do this
> > a dozen more times and the only 2 width values you ever intend to work
> > with is: 24px and 32px..  At this point CTRL+L learns this and now
> > oxygen is popping for a width attribute and 2 possible width values; now
> > it is easy to select 1 or the other, not to mention fast.
> > Now the problem, I'm further down in my Xml now and I need information
> > available from the schema, which of course, is not available anymore.
> >
> > Karl..
> >
> > On Wed, May 25, 2011 at 11:25 PM, Radu Coravu <
> > <mailto:>> wrote:
> >
> >     Hi Karl,
> >
> >     Your observations are correct, there is no way to un-learn except
> >     reopening the XML.
> >     We mostly intended the "Learn Structure" action to be called on XML
> >     files without associated grammars (XML Schemas, DTDs).
> >     Can you tell us more about your use case? Why do you call the "Learn
> >     Structure"?
> >
> >     Regards,
> >     Radu
> >
> >     Radu Coravu
> >     <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> >     http://www.oxygenxml.com
> >
> >     On 5/26/2011 6:52 AM, Karl Stubsjoen wrote:
> >      > When composing an xml document that has a schema definition
> >     associated I
> >      > get the nice intellisense and auto completion, however if I CTRL+L
> >      > "learn" the document I am stuck; I do not know how to back to the
> >     schema
> >      > association.  The reset cache and validate doesn't work and I do
> not
> >      > know what else to do besides reopening the xml.
> >      >
> >      > --
> >      > Karl Stubsjoen
> >      > MeetScoresOnline.com
> >      > (602) 845-0006 <tel:%28602%29%20845-0006>
> >      >
> >      >
> >      >
> >      > _______________________________________________
> >      > oXygen-user mailing list
> >      >  <mailto:>
> >      > http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> >     _______________________________________________
> >     oXygen-user mailing list
> >      <mailto:>
> >     http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> >
> >
> >
> >
> > --
> > Karl Stubsjoen
> > MeetScoresOnline.com
> > (602) 845-0006
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>



-- 
Karl Stubsjoen
MeetScoresOnline.com
(602) 845-0006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110526/70d77ee8/attachment.html 


More information about the oXygen-user mailing list