CMCollins Posted August 30, 2014 Share Posted August 30, 2014 I've been staring at this for hours and searching forums for an answer. I have also gotten this message from another validator: "Character 'P' following the text '<' does not fulfill production 'Misc', which highlights the first start tag of <Product>. Could anyone recommend a solution? As far as I can tell I only have one root element, but maybe I'm missing something. <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xsd:include schemaLocation="amzn-base.xsd"/> <xsd:element name="product"> <xsd:complexType> <xsd:sequence> <xsd:element name="asin" type="xsd:string"/> <xsd:element name="brand" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="category" type="xsd:string"/> <xsd:element name="description" type="xsd:string"/> <xsd:element name="wordcount" type="xsd:string"/> <xsd:element name="rating" type="xsd:string"/> <xsd:element name="review" type="xsd:string"/> <xsd:element name="listprice" type="xsd:string"/> <xsd:element name="price" type="xsd:string"/> <xsd:element name="discount" type="xsd:string"/> <xsd:element name="shipping" type="xsd:string"/> <xsd:element name="totalprice" type="xsd:string"/> <xsd:element name="parentasin" type="xsd:string"/> <xsd:element name="available" type="xsd:string"/> <xsd:element name="fulfilled" type="xsd:string"/> <xsd:element name="thumbnail" type="xsd:string"/> <xsd:element name="url" type="xsd:string"/> <xsd:element name="imageurl" type="xsd:string"/> <xsd:element name="salesrank" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> <Product> <ASIN>B003Y3E55G</ASIN> <Brand>Hydrofarm</Brand> <Title>Hydrofarm CK64081 7-Inch Vented Dome</Title> <Category>Patio, Lawn & Garden</Category> <Description>Hydrofarm ck64081 7-inch vented humidity dome</Description> <WordCount>6</WordCount> <Rating>3.7</Rating> <Review>87</Review> <ListPrice>0</ListPrice> <Price>12.88</Price> <Discount>0%</Discount> <Shipping>0</Shipping> <TotalPrice>0</TotalPrice> <ParentASIN>B003Y3E55G</ParentASIN> <Available>True</Available> <Fulfilled>False</Fulfilled> <Thumbnail>http://ecx.images-amazon.com/images/I/21cla739VIL._AA160_.jpg</Thumbnail> <URL>http://www.amazon.com/Hydrofarm-CK64081-7-Inch-Vented-Dome/dp/B003Y3E55G/ref=sr_1_24?s=lawn-garden&ie=UTF8&qid=1409210462&sr=1-24</URL> <ImageURL>http://ecx.images-amazon.com/images/I/21cla739VIL._SS500_.jpg</ImageURL> <Description>Vented humidity dome * Easy dial vents for precise control of temperature and humidity * Durable, high-grade flexible plastic resists cracking * Designed to last longer * Great for taller cuttings * 7-inch dome gives extra height for your taller cuttings * Adjustable vents allow for perfect humidity and temperature control</Description> <SalesRank>2917</SalesRank> </Product> Link to comment Share on other sites More sharing options...
L8V2L Posted August 30, 2014 Share Posted August 30, 2014 (edited) It's okay, that it apart of programming in my book; To look at a screen for hours and then seeing the problem was as simple as a typo.In your schema product is spell "product". In your XML, you have product as "Product".In XML's world; Product, and product are two different element.All XML element must match exactly with the schema defined element name.When an XML parser in counter an error, it stop parsing and report the error. Looking at your XML... It seem all element does not match up with the schema. If must match exactly with the schema, Capital and all.If this help you, please consider giving me a like in the upper right corner. Edited August 30, 2014 by L8V2L Link to comment Share on other sites More sharing options...
CMCollins Posted August 31, 2014 Author Share Posted August 31, 2014 That doesn't seem to help. I've tried using Find/Replace to make them all upper case and all lower case, and no luck yet. I appreciate your efforts tho. Link to comment Share on other sites More sharing options...
L8V2L Posted August 31, 2014 Share Posted August 31, 2014 That doesn't seem to help. I've tried using Find/Replace to make them all upper case and all lower case, and no luck yet. I appreciate your efforts tho.What's does the error message say after you correctly match the element to the corresponding schema's elements. Link to comment Share on other sites More sharing options...
CMCollins Posted August 31, 2014 Author Share Posted August 31, 2014 When I try to open it in excel I get XML document must have a top level element XMLSpy says Character 'P' following the text '<' does not fulfill production 'Misc'. http://www.xmlvalidation.com/ says 31: 2 The markup in the document following the root element must be well-formed. Link to comment Share on other sites More sharing options...
L8V2L Posted August 31, 2014 Share Posted August 31, 2014 When I try to open it in excel I getXML document must have a top level element XMLSpy saysCharacter 'P' following the text '<' does not fulfill production 'Misc'. http://www.xmlvalidation.com/ says31: 2 The markup in the document following the root element must be well-formed.Take the schema link out. And then see what it say. Link to comment Share on other sites More sharing options...
CMCollins Posted August 31, 2014 Author Share Posted August 31, 2014 I took out these two lines: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xsd:include schemaLocation="amzn-base.xsd"/> and </xsd:schema> Now XMLValidation.com says: The prefix "xsd" for element "xsd:element" is not bound. XMLSpy still says: Character 'P' following the text '<' does not fulfill production 'Misc'. And when I try to open it in Excel I get: Strict Parse Error Link to comment Share on other sites More sharing options...
dsonesuk Posted August 31, 2014 Share Posted August 31, 2014 (edited) No expert with xml had quick look but shouldn't prefix be '<xs:‘ instead of '<xsd:‘. Edit forget it i found reference finally. Edited August 31, 2014 by dsonesuk Link to comment Share on other sites More sharing options...
L8V2L Posted August 31, 2014 Share Posted August 31, 2014 I took out these two lines:<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xsd:include schemaLocation="amzn-base.xsd"/>and</xsd:schema> Now XMLValidation.com says:The prefix "xsd" for element "xsd:element" is not bound. XMLSpy still says:Character 'P' following the text '<' does not fulfill production 'Misc'. And when I try to open it in Excel I get:Strict Parse ErrorDo me a favor. Change all capitals letters to lower case, and re-paste both of them files here.Cause it tell you that you have a capital P, which doesn't match up to the schema rule or you have a mismatch tag. So I would like to see the correction you made.Like I said, these things can be as simple as a typo. That's the world of programming. Link to comment Share on other sites More sharing options...
dsonesuk Posted August 31, 2014 Share Posted August 31, 2014 (edited) You do realise you have two descriptions elements, and the last one throws it out of sequence to read salesrank<?xml version="1.0"?><product> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</category><description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</url> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl><salesrank>2917</salesrank> </product>and this<?xml version="1.0"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xsd:include schemaLocation="amzn-base.xsd"/> <xsd:element name="product"> <xsd:complexType> <xsd:sequence> <xsd:element name="asin" type="xsd:string"/> <xsd:element name="brand" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="category" type="xsd:string"/><xsd:element name="description" type="xsd:string"/> <xsd:element name="wordcount" type="xsd:string"/> <xsd:element name="rating" type="xsd:string"/> <xsd:element name="review" type="xsd:string"/> <xsd:element name="listprice" type="xsd:string"/> <xsd:element name="price" type="xsd:string"/> <xsd:element name="discount" type="xsd:string"/> <xsd:element name="shipping" type="xsd:string"/> <xsd:element name="totalprice" type="xsd:string"/> <xsd:element name="parentasin" type="xsd:string"/> <xsd:element name="available" type="xsd:string"/> <xsd:element name="fulfilled" type="xsd:string"/> <xsd:element name="thumbnail" type="xsd:string"/> <xsd:element name="url" type="xsd:string"/> <xsd:element name="imageurl" type="xsd:string"/><xsd:element name="salesrank" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element></xsd:schema>validates at http://www.freeformatter.com/xml-validator-xsd.html , change description to correct one. Edited August 31, 2014 by dsonesuk Link to comment Share on other sites More sharing options...
L8V2L Posted August 31, 2014 Share Posted August 31, 2014 You do realise you have two descriptions elements, and the last one throws it out of sequence to read salesrank<?xml version="1.0"?><product> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</category><description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</url> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl>and this<?xml version="1.0"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">validates at http://www.freeformatter.com/xml-validator-xsd.html , change description to correct one.AWWWW!!!! You're taking my likes!!!! Link to comment Share on other sites More sharing options...
CMCollins Posted August 31, 2014 Author Share Posted August 31, 2014 I have changed all the tags I created to lower case and I took out the 2nd Description tag. I'm still getting these error messages: XMLspy:Character 'p' following the text '<' does not fulfill production 'Misc'. Excel:Only one top level element is allowed in an xml document XMLValidationThe markup in the document following the root element must be well-formed. http://www.freeformatter.com/xml-validator-xsd.htmlThe Markup In The Document Following The Root Element Must Be Well-formed. The latest version is below: <?xml version="1.0"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xsd:include schemaLocation="amzn-base.xsd"/><xsd:element name="product"><xsd:complexType><xsd:sequence> <xsd:element name="asin" type="xsd:string"/> <xsd:element name="brand" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="category" type="xsd:string"/> <xsd:element name="description" type="xsd:string"/> <xsd:element name="wordcount" type="xsd:string"/> <xsd:element name="rating" type="xsd:string"/> <xsd:element name="review" type="xsd:string"/> <xsd:element name="listprice" type="xsd:string"/> <xsd:element name="price" type="xsd:string"/> <xsd:element name="discount" type="xsd:string"/> <xsd:element name="shipping" type="xsd:string"/> <xsd:element name="totalprice" type="xsd:string"/> <xsd:element name="parentasin" type="xsd:string"/> <xsd:element name="available" type="xsd:string"/> <xsd:element name="fulfilled" type="xsd:string"/> <xsd:element name="thumbnail" type="xsd:string"/> <xsd:element name="url" type="xsd:string"/> <xsd:element name="imageurl" type="xsd:string"/> <xsd:element name="salesrank" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema><Product> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</Category> <description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</URL> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl> <salesrank>2917</salesrank></product> Link to comment Share on other sites More sharing options...
L8V2L Posted August 31, 2014 Share Posted August 31, 2014 I have changed all the tags I created to lower case and I took out the 2nd Description tag. I'm still getting these error messages: XMLspy:Character 'p' following the text '<' does not fulfill production 'Misc'. Excel:Only one top level element is allowed in an xml document XMLValidationThe markup in the document following the root element must be well-formed. http://www.freeformatter.com/xml-validator-xsd.htmlThe Markup In The Document Following The Root Element Must Be Well-formed. The latest version is below: <?xml version="1.0"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"><xsd:include schemaLocation="amzn-base.xsd"/><xsd:element name="product"><xsd:complexType><xsd:sequence> <xsd:element name="asin" type="xsd:string"/> <xsd:element name="brand" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="category" type="xsd:string"/> <xsd:element name="description" type="xsd:string"/> <xsd:element name="wordcount" type="xsd:string"/> <xsd:element name="rating" type="xsd:string"/> <xsd:element name="review" type="xsd:string"/> <xsd:element name="listprice" type="xsd:string"/> <xsd:element name="price" type="xsd:string"/> <xsd:element name="discount" type="xsd:string"/> <xsd:element name="shipping" type="xsd:string"/> <xsd:element name="totalprice" type="xsd:string"/> <xsd:element name="parentasin" type="xsd:string"/> <xsd:element name="available" type="xsd:string"/> <xsd:element name="fulfilled" type="xsd:string"/> <xsd:element name="thumbnail" type="xsd:string"/> <xsd:element name="url" type="xsd:string"/> <xsd:element name="imageurl" type="xsd:string"/> <xsd:element name="salesrank" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema>You still have this p in capital. Change it.<Product> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</Category> <description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</URL> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl> <salesrank>2917</salesrank></product> The two product root element tags does not match. Lower case. <product></product> Link to comment Share on other sites More sharing options...
dsonesuk Posted September 1, 2014 Share Posted September 1, 2014 (edited) The url element has a capitalized closing tag. Exactly how are you opening these files, i say these files because there should be one .xml and one xsd both starting with <?xml version="1.0"?>, i say this because your provided code always show these as combined with only one <?xml version="1.0"?>. From what i understand, you should be using the excel (2010) developer tab, XMLsource pane and XML maps button http://msdn.microsoft.com/en-us/library/office/gg469857%28v=office.14%29.aspx wrong link better link http://office.microsoft.com/en-gb/excel-help/map-and-unmap-xml-elements-HP010206397.aspx look under create xml map. When you use file open, you do get that error message, with combined xml and xsd files. Edited September 1, 2014 by dsonesuk Link to comment Share on other sites More sharing options...
L8V2L Posted September 1, 2014 Share Posted September 1, 2014 Put them all in lowercase!!! Lowercase!!! Link to comment Share on other sites More sharing options...
CMCollins Posted September 1, 2014 Author Share Posted September 1, 2014 I found the other capitals in the tags and removed them, and get the same messages. I've been trying to use an internal dtd because I haven't found any good directions for how to create and use an external one. Which lines is it supposed to contain, and where is it stored, just in the same folder as the xml? What software do you use to create one? Link to comment Share on other sites More sharing options...
dsonesuk Posted September 2, 2014 Share Posted September 2, 2014 The xml dtd have been replaced by xsd and must be in separate file with .xsd extension, it can be placed any where you like, you just link to it, and like xml it must have <?xml version="1.0"?> at the top. How did you create current xsd? you just do the same but save/export as separate .xsd file instead. Link to comment Share on other sites More sharing options...
L8V2L Posted September 2, 2014 Share Posted September 2, 2014 And post the code again... Just to make sure. Link to comment Share on other sites More sharing options...
dsonesuk Posted September 2, 2014 Share Posted September 2, 2014 (edited) linking to xsd from xml, link can be url address or link to file on computer by adding to product root elementxsd:noNamespaceSchemaLocation="file location on computer"Note: I cant add file link example directly as example as it is removed [s]where 'YourProfileName' is your specific profile name where your documents are stored[/s]<?xml version="1.0" encoding="UTF-8" standalone="yes"?><product xsd:noNamespaceSchemaLocation="file location on computer or url" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</category> <description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</url> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl> <salesrank>2917</salesrank></product>With this you just open it like any other document, and .xsd file is found instantly without the need to map to it. http://www.herongyang.com/XML-Schema/XMLPad-Assign-XML-Schema-to-XML-Document.html Edited September 2, 2014 by dsonesuk Link to comment Share on other sites More sharing options...
L8V2L Posted September 2, 2014 Share Posted September 2, 2014 linking to xsd from xml, link can be url address or link to file on computer by adding to product root elementxsd:noNamespaceSchemaLocation="file location on computer"Note: I cant add file link example directly as example as it is removed where 'YourProfileName' is your specific profile name where your documents are stored<?xml version="1.0" encoding="UTF-8" standalone="yes"?><product xsd:noNamespaceSchemaLocation="file location on computer or url" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</category> <description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</url> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl>With this you just open it like any other document, and .xsd file is found instantly without the need to map to it. http://www.herongyang.com/XML-Schema/XMLPad-Assign-XML-Schema-to-XML-Document.htmlYou took my like!!!! Link to comment Share on other sites More sharing options...
CMCollins Posted September 2, 2014 Author Share Posted September 2, 2014 Getting there. Thanks dsonesuk for the two lines at the beginning of the xml. This is the error I'm getting on the xml at the moment:Element type "xsd:noNamespaceSchemaLocation" must be followed by either attribute specifications, ">" or "/>". Here is the current xml, and the xsd follows: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><xsd:noNamespaceSchemaLocation="file:C:UsersCherylMy Documentsxsd_090114.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"><product> <asin>B003Y3E55G</asin> <brand>Hydrofarm</brand> <title>Hydrofarm CK64081 7-Inch Vented Dome</title> <category>Patio, Lawn & Garden</category> <description>Hydrofarm ck64081 7-inch vented humidity dome</description> <wordcount>6</wordcount> <rating>3.7</rating> <review>87</review> <listprice>0</listprice> <price>12.88</price> <discount>0%</discount> <shipping>0</shipping> <totalprice>0</totalprice> <parentasin>B003Y3E55G</parentasin> <available>True</available> <fulfilled>False</fulfilled> <thumbnail>http://ecx.images-am...VIL._AA160_.jpg</thumbnail> <url>http://www.amazon.co...#38;amp;sr=1-24</url> <imageurl>http://ecx.images-am...VIL._SS500_.jpg</imageurl> <salesrank>2917</salesrank></product> xsd content: <?xml version="1.0"?><xsd:element name="product"><xsd:complextype><xsd:sequence> <xsd:element name="asin" type="xsd:string"/> <xsd:element name="brand" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="category" type="xsd:string"/> <xsd:element name="description" type="xsd:string"/> <xsd:element name="wordcount" type="xsd:string"/> <xsd:element name="rating" type="xsd:string"/> <xsd:element name="review" type="xsd:string"/> <xsd:element name="listprice" type="xsd:string"/> <xsd:element name="price" type="xsd:string"/> <xsd:element name="discount" type="xsd:string"/> <xsd:element name="shipping" type="xsd:string"/> <xsd:element name="totalprice" type="xsd:string"/> <xsd:element name="parentasin" type="xsd:string"/> <xsd:element name="available" type="xsd:string"/> <xsd:element name="fulfilled" type="xsd:string"/> <xsd:element name="thumbnail" type="xsd:string"/> <xsd:element name="url" type="xsd:string"/> <xsd:element name="imageurl" type="xsd:string"/> <xsd:element name="salesrank" type="xsd:string"/></xsd:sequence></xsd:complextype></xsd:element></xsd:schema> Link to comment Share on other sites More sharing options...
dsonesuk Posted September 2, 2014 Share Posted September 2, 2014 (edited) its difficult to show how it should look as the it will be cleared as an hack injection attempt. it should be <product xsd:noNamespaceSchemaLocation="file:C:UsersCherylMy Documentsxsd_090114.xsd" xmlns:xsd="http://www.w3.org/20...Schema-instance"> link to file should start with 'file:' and followed by three forward slashes '///' AS described in link in my last post note slash direction all should match go to folder where xsd folder is located, in location bar right click and select 'copy address as text' (windows7) this will give true location text as 'my documents' is alias for 'Documents', and change slashes to face opposite direction, so it may be similar to C:/Cheryl/Documents/ Edited September 2, 2014 by dsonesuk Link to comment Share on other sites More sharing options...
CMCollins Posted September 3, 2014 Author Share Posted September 3, 2014 I'm still getting this message in the xsd: The prefix "xsd" for element "xsd:element" is not bound. referring to the second line here: 1 <?xml version="1.0"?> 2 <xsd:element name="product"> What does "is not bound" mean? Thanks. Link to comment Share on other sites More sharing options...
CMCollins Posted September 3, 2014 Author Share Posted September 3, 2014 BTW: There doesn't seem to be any problem with the xml finding the xsd. That's working fine. Link to comment Share on other sites More sharing options...
dsonesuk Posted September 3, 2014 Share Posted September 3, 2014 Seem you don't have schema ref element should start similar to <?xml version="1.0" encoding="utf-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xsd:element name="product"> .... rest which binds this ref xmlns:xsd to these <xsd:element name="product"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now