Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Help deciphering someone else's XML schema

From: "Gosselin, Michael" <Michael.Gosselin@--------------------->
To:
Date: 4/4/2006 7:05:00 PM
Hi,

I'm looking at some XSLT and XSD code from another company.  The second line
of the XML is the following:

<rr:CReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rr="urn:Correlagen:RightReport"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xsi:schemaLocation="urn:Correlagen:RightReport">

I'm a little rusty (well, very rusty) with the XML, XSD and XSLT namespaces,
and could use a little help deciphering that line.  

When I take that file and put it into EditiX, and create a Schema (.xsd)
file, I get some errors with validation.  They read:

Invalid 'name' attribute value 'ss:Type': 'The ':' character, hexadecimal
value 0x3A, at position 2 within the name, cannot be included in a name.'. 

file:///usr/local/XSV/xsvlog/tmpbN14RIuploaded:143:7
<file:///usr/local/XSV/xsvlog/tmpbN14RIuploaded:143:7> : Invalid per
cvc-attribute.1.2: attribute type check failed for {None}:name: ss:Type does
not match pattern [^:]*

(two different validators).

So, if someone can point me in the right direction for deciphering the
namespaces and what xsi: means, and why I'm getting some errors with
validators, I'd appreciate it.

Note that these files are created externally, and I can't change them.

Thanks,

Michael Gosselin
Athena Diagnostics, Inc.
(508) 756-2886 x3708
(800) 394-4493 x3708


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent