OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl] Validating UBL 2.0 genericode files with Altova XMLSpy


Dear Juerg,

	What information were you expecting XML Spy to use to look up a Schema  
location in the catalog?  Were you expecting it to use the namespace URI?   
You seem surprised that it uses the Schema location.

	Cheers, Tony.

On Mon, 25 Sep 2006 02:10:09 +0100, <juerg.tschumperlin@minedu.govt.nz>  
wrote:

> Hi,
> Is anyone else experiencing this issue:
> When I edit and validate a UBL 2.0 supplied GC file using XMLSpy 2006  
> SP3, I get this error: "Unable to locate a reference to a supported  
> schema type (DTD, W3C Schema) within this document instance." So far, I  
> understand (well, it is more of a deducting guess really) that XMLSpy is  
> doing this:
>
> - if no schemaLocation is present, validation is stopped immediately  
> with the above error message
>
> - if the schemaLocation attribute is found (the named file however may  
> be bogus), then the CustomCatalog.xml file (part of XMLSpy installation,  
> and a subset of OASIS XML catalog) is checked:
>
>     - if an matching uri name= entry is found in the catalog, then the  
> specified uri= file location is used for the validation (and the one  
> specified in schemaLocation is ignored).
>
>     - if no matching uri name= entry is found, then the file name in the  
> schemaLocation attribute is used to validate, or an error reported if  
> that file cannot be found.
>
> It appears to me that XMLSpy requires a schemaLocation attribute even if  
> a XML catalog is used to define the storage location.
>
> Or is it something to do with my XMLSpy configuration?
> Regards
> Juerg



-- 
Anthony B. Coates
Senior Partner
Miley Watts LLP
Experts In Data
+44 (79) 0543 9026
Data standards participant: ISO 20022 (ISO 15022 XML), ISO 19312,  
UN/CEFACT TMG, MDDL, FpML, UBL.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]