[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Help deciphering someone else's XML schema

Subject: Re: Help deciphering someone else's XML schema
From: "Anthony Ettinger" <aettinger@xxxxxxxxxxxxxx>
Date: Tue, 4 Apr 2006 12:12:53 -0700
the character hexadecimal value 0x3a
xsi is "xml schema instance".

I believe the namespace declarations xmlns:rr="" have to reference a
unique but valid url.
Typically something like xmlns:rr="http://www.somecompany/RRml"



On 4/4/06, Gosselin, Michael <Michael.Gosselin@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 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
>
>


--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.