[oXygen-user] "Invalid encoding name" when importing saml schema
George Cristian Bina
Fri Jul 29 11:41:45 CDT 2005
Hi Julien,
We were able to reproduce the behavior, thanks for reporting that. We
will look into that and see what happens.
In the meanwhile you can workaround the problem if you get a local copy
of the
http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-assertion-1.1.xsd
and set up a catalog that resolves that system identifier to the local copy.
For instance if you place the catalog and the schema in the same folder
then the catalog file content can be:
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system
systemId="http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-assertion-1.1.xsd"
uri="oasis-sstc-saml-schema-assertion-1.1.xsd"/>
</catalog>
The catalog should be added in the catalog list from
Options->Preferences -- XML -- XML Catalog page.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Julien Boeuf wrote:
> Hi,
>
> I get an "Invalid encoding name" error whenever I import the saml 1.0
> schema. Here's an example:
>
> Code:
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="urn:foo:bar"
> xmlns="urn:foo:bar"
> xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
>
> <xs:import namespace="urn:oasis:names:tc:SAML:1.0:assertion"
> schemaLocation="http://www.oasis-open.org/committees/download.php/3408/o
> asis-sstc-saml-schema-assertion-1.1.xsd"/>
>
> <xs:complexType name="FooType">
> <xs:sequence>
> <xs:element ref="saml:Assertion"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:element name="Foo" type="FooType"/> </xs:schema>
>
>
> Are you able to reproduce the problem? The saml schema itself validates
> OK...
>
> Thanks,
>
> Julien.
>
> PS I use Oxygen 6.1 for windows, build 2005072105. I have
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list