How does one use tag insite with a non-oXygen schema?
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 60
- Joined: Wed Jan 28, 2004 10:51 pm
How does one use tag insite with a non-oXygen schema?
By non-oXygen, I mean a schema that is not part of the oXygen distribution, in this case AIML.
I believe I have my document set up correctly:
However, if I type an open arrow (<) before the </aiml:aiml> I'm only given the following three completion options, one of which is superfluous (the </aiml:aiml>):
I know I'm doing something wrong, since I have several schema's that I've written that are working fine with tag completion.
Any ideas?
-David
I believe I have my document set up correctly:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<aiml:aiml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://alicebot.org/2001/AIML AIML.xsd"
xmlns:aiml="http://alicebot.org/2001/AIML"
version="1.0.1">
</aiml:aiml>
Code: Select all
</aiml:aiml>
<!-- -->
<![CDATA[]]>
Any ideas?
-David
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
It is a bug in content completion. We already fixed it and it will be available in the next release. Use the following workaround in current version: in the schema AIML.xsd replace the definition of the element set
with a reference to a global type:
and add the following as global type definition:
Doing that the content completion will work again.
Best regards,
Sorin
It is a bug in content completion. We already fixed it and it will be available in the next release. Use the following workaround in current version: in the schema AIML.xsd replace the definition of the element set
Code: Select all
<xs:element name="set">
...
</xs:element>
Code: Select all
<xs:element name="set" type="setType"/>
Code: Select all
<xs:complexType name="setType">
<xs:complexContent>
<xs:extension base="MixedTemplateContentContainer">
<xs:attribute name="name" type="PredicateName"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Best regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How does one use tag insite with a non-oXygen schema?
Post by sorin_ristache »
Alternative: make a copy of AIML.xsd, do the changes from my previous post on that copy, then map the original to the copy using a XML catalog so that you don't change your XML document. The next release of <oXygen/> will include a fix and you can discard the XML catalog.dnedrow wrote:if I type an open arrow (<) before the </aiml:aiml> I'm only given the following three completion options, one of which is superfluous (the </aiml:aiml>)
...
Any ideas?
Best regards,
Sorin
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
Is this bug fix in version 6? I can't seem to get it to work
Post by rosullivan »
Specifically, I'm trying to auto-complete WordML in and XSLT stylesheet.
Currently using a trial version, but very impressed so far ... will probably purchase a license.
Thanks.
Currently using a trial version, but very impressed so far ... will probably purchase a license.
Thanks.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Is this bug fix in version 6? I can't seem to get it to
Hi,rosullivan wrote:Specifically, I'm trying to auto-complete WordML in and XSLT stylesheet.
Currently using a trial version, but very impressed so far ... will probably purchase a license.
Thanks.
The above messages talk about a v6.0 problem of the code completion. I do not know if the WordML schema contains the same structure that brakes the content completion. For being able to see the elements of that schema in the content completion when you edit an XSL you should set it in the Options->Preferences -- Editor -- Tag Insight -- XSL dialog for the "Include elements declared in the schema" property.
Best Regards,
George
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
Thanks George
Post by rosullivan »
I guess WordML has structures that break the Tag Insight. Any ETA on the 7.0 fixes? Thanks again.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
We will look at that, it will be great if you have it available as trying to download it from the Microsoft website [Office 2003: XML Reference Schemas] gives:
Sorry, we are unable to show you the page you requested. Please try again later.
The next release will be a version 6 minor release, 6.1, and it should be available in a few weeks, end of June/beginning of July.
Best Regards,
George
We will look at that, it will be great if you have it available as trying to download it from the Microsoft website [Office 2003: XML Reference Schemas] gives:
Sorry, we are unable to show you the page you requested. Please try again later.
The next release will be a version 6 minor release, 6.1, and it should be available in a few weeks, end of June/beginning of July.
Best Regards,
George
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
WordML Schemas
Post by rosullivan »
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
WordML Schemas
Post by rosullivan »
Must be your browser or your ISP. I'm in Virginia and using Firefox 1.0.3. Hope that helps.
-
- Posts: 60
- Joined: Wed Jan 28, 2004 10:51 pm
Re: WordML Schemas
Huh, using Safari, can't get the page. Using Firefox I can. So it is browser related.rosullivan wrote:Must be your browser or your ISP. I'm in Virginia and using Firefox 1.0.3. Hope that helps.
-David
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 60
- Joined: Wed Jan 28, 2004 10:51 pm
That sounds like a Microsoft schema.george wrote: The wordnet.xsd schema works with v6 without problems. However, it declares only two global elements and only the global elements are presented by the content completion for XSLT as possible result elements.

I don't know if you guys have the time to manage something like this, but it might be useful to create a read-only section on phpBB that SyncRO Soft could use just to post these final notes on particular schemas. Eg. "oXygen 6.0 and AIML 1.1", and "oXygen 6.0 and WordML xxx"
-David
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
Ah! Only Global Elements
Post by rosullivan »
That makes sense. Sorry to get you barking up the wrong tree w/o investigating further myself.
This points to the need for an option to include *all* elements (e.g. not just global elements) for a schema in the auto-completion for XSLT.
This points to the need for an option to include *all* elements (e.g. not just global elements) for a schema in the auto-completion for XSLT.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Ah! Only Global Elements
Post by sorin_ristache »
Hello,rosullivan wrote:This points to the need for an option to include *all* elements (e.g. not just global elements) for a schema in the auto-completion for XSLT.
We added the suggestion to our todo list. It is possible to include this enhancement in the next release.
Thank you,
Sorin
-
- Posts: 6
- Joined: Tue Jun 14, 2005 5:03 pm
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service