[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
I was part of the committee for OASIS XML Catalogs, as it happens. URI rewriting is mentioned in section 4.2: http://www.oasis-open.org/committees/entity/spec-2001-08-06.html#s.uri.ent The thing is, it is up to a particular application to decide *which* URIs are rewritten using the catalog. There is built-in support for public and system IDs are defined for DTDs, but otherwise everything is just URLs. Cheers, Tony. On Mon, 25 Sep 2006 10:24:38 +0100, G. Ken Holman <gkholman@CraneSoftwrights.com> wrote: > At 2006-09-25 09:58 +0100, Anthony B. Coates (Miley Watts) wrote: >> The XML Spy docs are very vague on this. The text suggest that they >> only >> use the catalog to match the public ID in a DOCTYPE declaration. >> However, >> the subset of OASIS XML Catalogs that they use suggests that they might >> also be able to match some URIs. From what Juerg wrote, it sounds like >> XML Spy will match a Schema location to a URI in the catalog, but not a >> namespace URI. > > Yes, that is my interpretation of Juerg's analysis. And I see no > reference in the XML Catalog specification for mapping a namespace > URI to a system resource. I've written to some catalogue users off-line > to see if I'm missing something. If true, then it would be a feature of > an editing tool outside of support for the XML Catalog specification. > > In oXygen I can configure precisely what I need to edit the PRD3 > genericode files: a mapping of a namespace URI string to a schema > location in the absence of an xsi:schemaLocation attribute. > > I hope someone can point us to this feature, if it exists, in XML Spy. > > . . . . . . . . . . Ken > >  http://www.oasis-open.org/committees/entity/spec-2001-08-06.html > >> Cheers, Tony. >> >> On Mon, 25 Sep 2006 09:12:18 +0100, G. Ken Holman >> <gkholman@CraneSoftwrights.com> wrote: >> ... >>> In oXygen the menu item is Options/Preferences/Editor/Default Schema >>> Association, and with that control I can determine in my editing >>> environment which schema to use for which namespace. This allows me to >>> edit the instance without tying the instance to any particular schema. >>> >>> So ... I can do what is necessary in oXygen ... Juerg cannot, >>> apparently, do the same in XMLSpy, so the question is "is there some >>> configuration in XMLSpy to map a namespace to a schema?" > > > > -- > UBL/XML/XSLT/XSL-FO training: Vårø, Denmark 2006-10-02/06,11-20/24 > UBL International 2006 2006-11-13/17 http://www.ublconference.com > World-wide corporate, govt. & user group UBL, XSL, & XML training. > G. Ken Holman mailto:gkholman@CraneSoftwrights.com > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/o/ > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) > Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/o/bc > Legal business disclaimers: http://www.CraneSoftwrights.com/legal > -- 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.