Relax NG slowness
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
Relax NG slowness
I have recently started experimenting with oXygen and some complex Relax NG schemas (notably, the current draft version of the full schema for the P5 version of TEI, which will use Relax NG as its base schema language).
Validation and tag insight work fine, but oXygen is very slow in opening files when one or more open file is associated with a long Relax NG schema. This includes operations like creating a new XML file--oXygen spends maybe 20 seconds doing processing (on my G4 dual Power Mac) before it creates the new file window. Is this a problem connected to integrating oXygen with the Trang engine? (I can send the Relax NG schema if it would be helpful, or see http://www.tei-c.org/P5/Test/testall.compiled.rnc .)
Validation and tag insight work fine, but oXygen is very slow in opening files when one or more open file is associated with a long Relax NG schema. This includes operations like creating a new XML file--oXygen spends maybe 20 seconds doing processing (on my G4 dual Power Mac) before it creates the new file window. Is this a problem connected to integrating oXygen with the Trang engine? (I can send the Relax NG schema if it would be helpful, or see http://www.tei-c.org/P5/Test/testall.compiled.rnc .)
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Hi,
I tried with the schema saved locally and oxygen works without problems so I think the problem is related with the fact that you are using the remote schema. This can be resolved if you set up an XML Catalog to resolve it locally.
For example for "http://www.tei-c.org/P5/Test/testall.compiled.rnc" schema follow the next steps to create and add a catalog :
1. Download "testall.compiled.rnc" in some directory.
2. Create a catalog like this :
3. Save the catalog in the same directoy as your schema file.
4. Add the catalog in oXygen catalogs list from Options->Preferences->XML Catalog.
5. Restart oXygen.
Best Regards,
Octavian
I tried with the schema saved locally and oxygen works without problems so I think the problem is related with the fact that you are using the remote schema. This can be resolved if you set up an XML Catalog to resolve it locally.
For example for "http://www.tei-c.org/P5/Test/testall.compiled.rnc" schema follow the next steps to create and add a catalog :
1. Download "testall.compiled.rnc" in some directory.
2. Create a catalog like this :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system systemId="http://www.tei-c.org/P5/Test/testall.compiled.rnc" uri="testall.compiled.rnc"/>
</catalog>
4. Add the catalog in oXygen catalogs list from Options->Preferences->XML Catalog.
5. Restart oXygen.
Best Regards,
Octavian
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
Location of schema not the problem
Octavian,
In fact I was using a local copy of the Relax NG schema, so my XML file begins like this:
If you can't reproduce the slow behavior, maybe there is some unrelated issue that is causing problems on my system.[/code]
In fact I was using a local copy of the Relax NG schema, so my XML file begins like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="file:/Volumes/Homes/Users/drs2n/Temp/00P5test/testall.compiled.rnc" type="compact"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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