[oXygen-user] "Invalid encoding name" when importing saml schema

Julien Boeuf
Thu Jul 28 19:17:11 CDT 2005


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



More information about the oXygen-user mailing list