XSD for Oxygen Author applet
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 35
- Joined: Fri Nov 11, 2011 10:34 am
XSD for Oxygen Author applet
Post by maxim.kovalev »
Hi all!
I'm using Oxygen Author applet. I have a directory XSD, how can I connect it to the applet?
Now when you open an xml:
<learningOverview id="u1_l1_lo1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:sap:names:tc:dita:spec:learning:xsd:mmcpLearningOverview.xsd:1.0">
...
</learningOverview>
I get neobarbotanye data in the applet.
sorry for my english =)
I'm using Oxygen Author applet. I have a directory XSD, how can I connect it to the applet?
Now when you open an xml:
<learningOverview id="u1_l1_lo1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:sap:names:tc:dita:spec:learning:xsd:mmcpLearningOverview.xsd:1.0">
...
</learningOverview>
I get neobarbotanye data in the applet.
sorry for my english =)
-
- Posts: 35
- Joined: Fri Nov 11, 2011 10:34 am
Re: XSD for Oxygen Author applet
Post by maxim.kovalev »
very bad English = ))))maxim.kovalev wrote:Hi all!
I'm using Oxygen Author applet. I have a directory XSD, how can I connect it to the applet?
Now when you open an xml:
<learningOverview id="u1_l1_lo1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:sap:names:tc:dita:spec:learning:xsd:mmcpLearningOverview.xsd:1.0">
...
</learningOverview>
I get untreated data in the applet.
sorry for my english =)
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XSD for Oxygen Author applet
Hi Maxim,
In the Author Component Sample Project you started with there is a resources directory which contains a frameworks.zip.jar.
By default that file contains a JAR which wraps a ZIP file which contains part of the dita framework which can be usually found in a standalone Oxygen's installation:
OXYGEN_INSTALL_DIR/frameworks/dita
So if you unpack the archive and in the dita\DITA-OT\catalog-dita.xml catalog file you add your additional entries + install the additional XML Schemas in the same directory structure then zip the directory and JAR it to obtain the original archive structure then is you re-build the applet it should resolve the noNamespaceSchemaLocation through the catalog bundled with the framework.
Another alternative is to make modifications to the dita framework from an Oxygen standalone installation, then zip and jar the entire "dita" framework and copy it to the applet "resources" directory.
Regards,
Radu
In the Author Component Sample Project you started with there is a resources directory which contains a frameworks.zip.jar.
By default that file contains a JAR which wraps a ZIP file which contains part of the dita framework which can be usually found in a standalone Oxygen's installation:
OXYGEN_INSTALL_DIR/frameworks/dita
So if you unpack the archive and in the dita\DITA-OT\catalog-dita.xml catalog file you add your additional entries + install the additional XML Schemas in the same directory structure then zip the directory and JAR it to obtain the original archive structure then is you re-build the applet it should resolve the noNamespaceSchemaLocation through the catalog bundled with the framework.
Another alternative is to make modifications to the dita framework from an Oxygen standalone installation, then zip and jar the entire "dita" framework and copy it to the applet "resources" directory.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 35
- Joined: Fri Nov 11, 2011 10:34 am
Re: XSD for Oxygen Author applet
Post by maxim.kovalev »
HiRadu wrote:Hi Maxim,
In the Author Component Sample Project you started with there is a resources directory which contains a frameworks.zip.jar.
By default that file contains a JAR which wraps a ZIP file which contains part of the dita framework which can be usually found in a standalone Oxygen's installation:
OXYGEN_INSTALL_DIR/frameworks/dita
So if you unpack the archive and in the dita\DITA-OT\catalog-dita.xml catalog file you add your additional entries + install the additional XML Schemas in the same directory structure then zip the directory and JAR it to obtain the original archive structure then is you re-build the applet it should resolve the noNamespaceSchemaLocation through the catalog bundled with the framework.
Another alternative is to make modifications to the dita framework from an Oxygen standalone installation, then zip and jar the entire "dita" framework and copy it to the applet "resources" directory.
Regards,
Radu
The fact is that the frameworks/dita I lay in frameworks.zip.jar
When I changed frameworks.zip.jar when you run the applet I get an error - "ould not verify signing in resource: frameworks.zip.jar" (I'm using the demo version oxygen and a signature for 30 days)
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XSD for Oxygen Author applet
Hi Maxim,
You have to re-run the "ant" on the Author Component Sample Project which signs the jars (including the frameworks.zip.jar).
Regards,
Radu
You have to re-run the "ant" on the Author Component Sample Project which signs the jars (including the frameworks.zip.jar).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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