Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] BillOfMaterialsTest from core plugin throwsBillOfMaterialsTest

Thomas, I got exactly the same error after I updated the workspace from CVS. It's not random, I actually cannot get through. The error is reported when trying to import an exported BOM transfered to a remote buckminster.
Something must have happened recently.

The full stack trace:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'id' is not allowed to appear in element 'md:exportedBillOfMaterials'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at org.eclipse.buckminster.core.parser.AbstractParser.parseInput(AbstractParser.java:140) at org.eclipse.buckminster.core.metadata.parser.BillOfMaterialsParser.parse(BillOfMaterialsParser.java:46) at org.eclipse.buckminster.core.metadata.parser.BillOfMaterialsParser.parse(BillOfMaterialsParser.java:1)

Regards
 Filip Hrbek

----- Original Message ----- From: "Thomas Hallgren" <thomas@xxxxxxx>
To: "Buckminster developer discussions" <buckminster-dev@xxxxxxxxxxx>
Sent: Thursday, January 25, 2007 12:22 AM
Subject: Re: [buckminster-dev] BillOfMaterialsTest from core plugin throwsBillOfMaterialsTest


Hi Karel,
I'm not sure why you get this. I'm running the same test from a fresh CVS copy and it runs just fine. Seems you have an incorrect version of the schema somehow. Don't know how you could get that though. Is it possible that you have an inconsistent workspace?

Regards,
Thomas Hallgren

Karel Brezina wrote:
Hi,

BillOfMaterialsTest from "org.eclipse.buckminster.core" plugin throws SAXParseException.
What is wrong?

Regards,
    Karel

Trace output:

org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'id' is not allowed to appear in element 'md:exportedBillOfMaterials'.
 at

_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev




Back to the top