schema reference
Having trouble installing Oxygen? Got a bug to report? Post it all here.
schema reference
Post by TE »
Hi,
if I store my SOAP schema locally, the following code is fine:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ file:///d:/xmlpilot/soaplocal.xsd>
But if I reference to the schema on the web, it doesnt work!
Code:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/ >
Error Message:
Cannot find the declaration of element 'SOAP:Envelope'.
Is there anyone who can solve that problem? Thank you very much!
if I store my SOAP schema locally, the following code is fine:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ file:///d:/xmlpilot/soaplocal.xsd>
But if I reference to the schema on the web, it doesnt work!
Code:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/ >
Error Message:
Cannot find the declaration of element 'SOAP:Envelope'.
Is there anyone who can solve that problem? Thank you very much!
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Hello,
We fixed this in the current version that is under development. It was a problem in accessing the HTTP resources.
I recommend to setup an XML catalog in which you map the url
http://schemas.xmlsoap.org/soap/envelope/
to
file:///d:/xmlpilot/soaplocal.xsd
Sample catalog:
-----------------------
<?xml version="1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!-- Map web references to local -->
<rewriteURI
uriStartString="http://schemas.xmlsoap.org/soap/envelope/"
rewritePrefix="soaplocal.xsd"/>
</catalog>
------------------------
You will have to place this catalog in the directory:
D:\xmlpilot
After adding it into the editor options (Section XML catalog) you have to restart the editor.
Regards,
Dan
We fixed this in the current version that is under development. It was a problem in accessing the HTTP resources.
I recommend to setup an XML catalog in which you map the url
http://schemas.xmlsoap.org/soap/envelope/
to
file:///d:/xmlpilot/soaplocal.xsd
Sample catalog:
-----------------------
<?xml version="1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!-- Map web references to local -->
<rewriteURI
uriStartString="http://schemas.xmlsoap.org/soap/envelope/"
rewritePrefix="soaplocal.xsd"/>
</catalog>
------------------------
You will have to place this catalog in the directory:
D:\xmlpilot
After adding it into the editor options (Section XML catalog) you have to restart the editor.
Regards,
Dan
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