Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint XML Schema    XML Validation error

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
<John Hoge>
Posted
I get a validation error when applying the XML Schema in XMLSpy to a mtx file that has been generated by Scene Builder.

The errors are as follows:

This file is not valid: Value does not match facet enumeration "1 2 3 4 308" in attribute 'Version'

Unexpected attribute 'MultiUV' in element 'MTSGeometry'

If the XML Schema is producing error messages on code that displays correctly, is it worth paying $400 for XMLSpy when notepad will do?
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of DavidR
Posted Hide Post
Somebody smarter than I will hopefully explain the error message...

I usually turn on Verbose MTX in Scenebuilder, then I click the Validate Scene button. Then I turn off Verbose MTX.

Somehow the exercise makes me feel better and it confirms the code will work.

When hand coding (aka modifying an existing scene) then I parse it in Internet Explorer by opening the .mtx file within the browser.
An error points at the exact line and character in question. This helps me.

HTHY
DavidR
 
Posts: 308 | Location: Atlanta Georgia | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi John!!

Using Ultra-Edit would be the IDEAL SOLUTION (without validation of-course).


Best Regards,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of lauramb
Posted Hide Post
Thanks for the tips Big Grin.
I received the same error attempting to validate a version 311 document.
An added note Eek, when attempting to switch to Schema/WSDL in XMLSpy received the following message:
quote:
Unable to show schema: Schema has to begin with a schema-element
.
WHASSUP WIT'DAT?Razz All of my XML gods at Viewpoint are, truely, Men (and Ladies?} after all Wink
PS. The schema version is: VP~mtx_schema_1_0.xsd

[This message was edited by lauramb on December 10, 2003 at 03:25 AM.]
 
Posts: 131 | Location: Las Vegas, NV, USA | Registered: May 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint XML Schema    XML Validation error