Re: Still trying to validate an XML Schema

Florian Schmitt <[email protected]> Mon, 24 Jun 2024 00:56:22 +0200
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Hi Ted,

taka a close look to the validation result. Instead of "ellipse", 
"Ellipse" is expected. You've defined in your schema that the element 
name starts with an upper-case "E", which isn't the case in your XML.

Thus, replace

<ellipse>
         <X_Center_Coordinate>100</X_Center_Coordinate>
         <Y_Center_Coordinate>100</Y_Center_Coordinate>
         <X_Radius_Coordinate>30</X_Radius_Coordinate>
         <Y_Radius_Coordinate>70</Y_Radius_Coordinate>
     </ellipse>

with

<Ellipse>
         <X_Center_Coordinate>100</X_Center_Coordinate>
         <Y_Center_Coordinate>100</Y_Center_Coordinate>
         <X_Radius_Coordinate>30</X_Radius_Coordinate>
         <Y_Radius_Coordinate>70</Y_Radius_Coordinate>
     </Ellipse>

HTH
Florian


Am 23.06.2024 um 23:24 schrieb Ted Hickox:
> Here is a little update.  I attempted to validate my xml code.  This is 
> the result I received:
> 
> image.png
> 
> I'm assuming that the problem is located in my xml code and not in my 
> xml schema.  Here are my xml and xml schema codes 
...






_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open