|
Re: XML Schema Editor says the type from an XML-Catalog-Referenced schema is invalid [message #233153 is a reply to message #233137] |
Wed, 01 July 2009 07:16 |
Eclipse User |
|
|
|
Originally posted by: valentinbaciu.hotmail.com
Hi Istvan, perhaps you can attach a simple example project with your schema
and the jar? If they are proprietary attach some mocked up sample schemas
instead. If you are contributing to the user catalog, export it and attach
it here. If you are contributing to the sytem catalog using the catalog
extension point please attach that extension. We'll try to help once we
understand your scenario better.
Regards, Valentin
"Istvan" <acereg@citromail.hu> wrote in message
news:h2dagn$uku$1@build.eclipse.org...
> Hello!
>
> I have an XSD (called Test) in a jar somewhere on my disk. Targetnamespace
> of the XSD is "test".
> I add it to XML Catalog with this key:
> "specialprefix:testjar/test/test.xsd". Key type is schemalocation.
>
> I also have an XSD (called Importer) in my eclipse workspace and I import
> to it the xsd mentioned before.
> Schemalocation of the import is "specialprefix:testjar/test/test.xsd", as
> it is set in the Catalog.
> xmlns prefix is set to "test" in the xsd:schema tag.
>
> After doing this, when I create a new element in Importer and press CTRL +
> Space in the type attribute of it, I can see the types defined by Test (in
> a "test: ..." form). This is OK.
> But when I save Importer it says that the type is invalid.
>
> So it seems the content assist mechanism resolves XML Catalog entries but
> the element/type validation mechanism does not.
>
> Is it a bug? Is it may be reported to bugzilla?
>
>
> Thanks,
> Istvan
|
|
|
Re: XML Schema Editor says the type from an XML-Catalog-Referenced schema is invalid [message #233161 is a reply to message #233153] |
Wed, 01 July 2009 10:12 |
Istvan Messages: 15 Registered: July 2009 |
Junior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_00C7_01C9FA45.34A907B0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=response
Content-Transfer-Encoding: 7bit
Hello,
Sorry if my description was not so clear.
The concrete problem was solved, but a strange "thing" still exists.
I attached a zip file, the comments in testimport.xsd describe the
situation.
thanks,
Istvan
"Valentin" <valentinbaciu@hotmail.com> wrote in message
news:h2f2h5$ppm$1@build.eclipse.org...
> Hi Istvan, perhaps you can attach a simple example project with your
> schema and the jar? If they are proprietary attach some mocked up sample
> schemas instead. If you are contributing to the user catalog, export it
> and attach it here. If you are contributing to the sytem catalog using the
> catalog extension point please attach that extension. We'll try to help
> once we understand your scenario better.
>
> Regards, Valentin
>
> "Istvan" <acereg@citromail.hu> wrote in message
> news:h2dagn$uku$1@build.eclipse.org...
>> Hello!
>>
>> I have an XSD (called Test) in a jar somewhere on my disk.
>> Targetnamespace of the XSD is "test".
>> I add it to XML Catalog with this key:
>> "specialprefix:testjar/test/test.xsd". Key type is schemalocation.
>>
>> I also have an XSD (called Importer) in my eclipse workspace and I import
>> to it the xsd mentioned before.
>> Schemalocation of the import is "specialprefix:testjar/test/test.xsd", as
>> it is set in the Catalog.
>> xmlns prefix is set to "test" in the xsd:schema tag.
>>
>> After doing this, when I create a new element in Importer and press CTRL
>> + Space in the type attribute of it, I can see the types defined by Test
>> (in a "test: ..." form). This is OK.
>> But when I save Importer it says that the type is invalid.
>>
>> So it seems the content assist mechanism resolves XML Catalog entries but
>> the element/type validation mechanism does not.
>>
>> Is it a bug? Is it may be reported to bugzilla?
>>
>>
>> Thanks,
>> Istvan
>
>
------=_NextPart_000_00C7_01C9FA45.34A907B0
Content-Type: application/x-zip-compressed;
name="xsd_xmlcatalog_test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="xsd_xmlcatalog_test.zip"
UEsDBAoAAAAAAAVX4Tor0Cce4gIAAOICAAAIAAAAdGVzdC5qYXJQSwMEFAAC AAAAo1PhOgAAAAAA
AAAAAAAAAAkAAABNRVRBLUlORi9QSwMEFAACAAgA9FbhOhIpELUsAAAANgAA ABQAAABNRVRBLUlO
Ri9NQU5JRkVTVC5NRvNNzMtMSy0u0Q1LLSrOzM+zUjDUM+DlcsxDEnEsSEzO SFUAigElzfRMebkA
UEsDBBQAAgAAAIpT4ToAAAAAAAAAAAAAAAAFAAAAdGVzdC9QSwMEFAACAAgA W1ThOopkBqwSAQAA
GQIAAA0AAAB0ZXN0L3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qnE1BA5du6ZxA7cLBjVK5vH1pENmkXD7hInhzIa1aRDOJa+3 3e2LB5s49uZqIQEg
y/hVRk95Lsvo+UoSm/beKuTArzjCcuxQZs+jgfg0mWSW/btGdoM8f2z11Jnv G7SwgM4jEZwtry7g
HVwnLhcSaw+cjrdDPYM0Bmn7doU+dUttlWnUqsFiasknW4F1A+MIcZaisTLB eagcEpsCkBrpN5BW
NlpWCKzBNVusCthfhJggEpSlAT0EB+0Iv/q457jpYAIMzv+kWXwyE1zBqq8P HsV87tMoXe+5OHeH
OiSeZyL/yLXImYllDWnxldikMb57XLPJaqymLvypdMaJhk0ctQ6+4dZNIxFJ Gm8b/9xCAfuJwVLd
OmLTTtHOBrQhV0SGQt7w7aCA5Ya9BkVQocYumC0mVPvU50s1rqJi9uJLq56Y thrBxfpAG6/7loJi
4RQj0sSno4UNtpwvna25WKSDhn6papFEzt9Mpkwb5bh8+SzwwgNQSwECFAAK AAAAAAAFV+E6K9An
HuICAADiAgAACAAAAAAAAAAAACAAAAAAAAAAdGVzdC5qYXJQSwECFAAUAAAA CAAqYOE6V9+bqEoC
AABNBAAADgAAAAAAAAABACAAAAAIAwAAdGVzdGltcG9ydC54c2RQSwUGAAAA AAIAAgByAAAAfgUA
AAAA
------=_NextPart_000_00C7_01C9FA45.34A907B0--
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03313 seconds