Hey all
Thanks for all your replys
I have tried it with soap4r 1.5.7 but still no joy im afraid. The schema
I am needing to use is at
http://www.cip4.org/Schema/JDFSchema_1_3_20070212.zip - its an open
standard used in the printing industry. However, when I take that schema
and validate it, it all appears to be fine (as you would expect being an
industry standard)
When I then look to validate the following xml (at bottom of post)
against the JDF schema it fails in rather spectacular fashion (using
libxml) - the error using XML Nanny is "JDF.xsd has a different target
namespace from the one specified in the instance document ." However I
have checked them and they appear to be the same!!
Also, Marcin, when will your XSD class gens be available? I would be
really interested in seeing those
Any help would be great
Cheers
Tim
<?xml version="1.0"?>
<JDF
Activation="Active"
DescriptiveName="Digital Printing example"
ID="C20031030J54321"
JobID="n070719_12414459_000431"
JobPartID="n070719_12414459_000430"
MaxVersion="1.3"
Status="Ready"
Type="Combined"
Types="LayoutPreparation Interpreting Rendering DigitalPrinting"
Version="1.3"
xmlns="http://www.CIP4.org/JDFSchema_1_1"
xmlns

si="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.CIP4.org/JDFSchema_1_1 JDF.xsd">
<ResourceLinkPool>
<RunListLink CombinedProcessIndex="0 1 2 3" ProcessUsage="Document"
Usage="Input" rRef="rl001">
<Part RunIndex="0 ~ -1"/>
</RunListLink>
<LayoutPreparationParamsLink CombinedProcessIndex="0" Usage="Input"
rRef="lpp01"/>
<InterpretingParamsLink CombinedProcessIndex="1" Usage="Input"
rRef="ip001"/>
<RenderingParamsLink CombinedProcessIndex="2" Usage="Input"
rRef="ren001"/>
<ComponentLink Amount="1" CombinedProcessIndex="4" Usage="Output"
rRef="c0001"/>
<MediaLink CombinedProcessIndex="0 3" Usage="Input" rRef="m0001"/>
<MediaLink CombinedProcessIndex="0 3" Usage="Input" rRef="m0002"/>
<DigitalPrintingParamsLink CombinedProcessIndex="3" Usage="Input"
rRef="dpp01"/>
<CustomerInfoLink CombinedProcessIndex="0 1 2 3" Usage="Input"
rRef="r070719_12414458_000428"/>
<NodeInfoLink CombinedProcessIndex="0 1 2 3" Usage="Input"
rRef="r070719_12414459_000429"/>
</ResourceLinkPool>
<ResourcePool>
<Component AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD
40" Class="Quantity" ComponentType="FinalProduct"
DescriptiveName="Digital Printing Output" ID="c0001"
Status="Unavailable"/>
<RunList AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD 40"
Class="Parameter" ID="rl001" PartIDKeys="Run" Status="Available">
<LayoutElement>
<FileSpec MimeType="application/pdf"
URL="file:///c:/Golfer_A4.pdf"/>
</LayoutElement>
<RunList Pages="6" Run="1">
<InsertSheet IsWaste="false" SheetType="InsertSheet"
SheetUsage="Trailer">
<RunList PageCopies="1"/>
<Sheet>
<MediaRef rRef="m0001"/>
</Sheet>
</InsertSheet>
</RunList>
</RunList>
<Media AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD 40"
BackCoatings="None" Class="Consumable" Dimension="1190 842"
FrontCoatings="None" ID="m0001" MediaType="Paper" Status="Available"
Weight="100">
<Location LocationName="AutoSelect"/>
</Media>
<Media AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD 40"
BackCoatings="None" Class="Consumable" Dimension="842 595"
FrontCoatings="None" ID="m0002" MediaType="Paper" Status="Available"
Weight="100">
<Location LocationName="AutoSelect"/>
</Media>
<RenderingParams AgentName="CIP4 JDF Writer Java" AgentVersion="1.3
BLD 40" Class="Parameter" ID="ren001" Status="Available">
<!-- <AutomatedOverprintParams OverPrintBlackText="true"/> -->
</RenderingParams>
<InterpretingParams AgentName="CIP4 JDF Writer Java"
AgentVersion="1.3 BLD 40" Class="Parameter" ID="ip001"
Status="Available">
<ObjectResolution AntiAliasing="AntiAlias" Resolution="200 200"/>
</InterpretingParams>
<DigitalPrintingParams AgentName="CIP4 JDF Writer Java"
AgentVersion="1.3 BLD 40" Class="Parameter" Collate="None" ID="dpp01"
OutputBin="Top" PageDelivery="ReverseOrderFaceUp" PartIDKeys="RunIndex"
Status="Available">
<MediaRef rRef="m0002"/>
<DigitalPrintingParams RunIndex="3 ~ 5">
<MediaRef rRef="m0001"/>
</DigitalPrintingParams>
<DigitalPrintingParams Collate="None" OutputBin="Top"
PageDelivery="ReverseOrderFaceUp" RunIndex="6">
<MediaRef rRef="m0002"/>
</DigitalPrintingParams>
</DigitalPrintingParams>
<LayoutPreparationParams AgentName="CIP4 JDF Writer Java"
AgentVersion="1.3 BLD 40" Class="Parameter" ID="lpp01"
PartIDKeys="RunIndex" Rotate="Rotate0" Sides="OneSidedFront"
Status="Available">
<FitPolicy SizePolicy="FitToPage"/><!-- RotatePolicy="Rotate0" -->
<ImageShift ShiftBack="0 0" ShiftFront="0 0"/>
<!-- Sides and Media for front cover -->
<LayoutPreparationParams Rotate="Rotate0" RunIndex="0 ~ 1"
Sides="OneSidedFront">
<MediaRef rRef="m0001"/>
</LayoutPreparationParams>
<!-- Sides and Media for document body -->
<LayoutPreparationParams RunIndex="3 ~ 5" Sides="OneSidedFront">
<MediaRef rRef="m0001"/>
</LayoutPreparationParams>
<!-- Sides and Media for back cover -->
<LayoutPreparationParams RunIndex="7 ~ 8" Sides="OneSidedFront">
<MediaRef rRef="m0001"/>
</LayoutPreparationParams>
</LayoutPreparationParams>
<CustomerInfo AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD
40" BillingCode="BC-78901" Class="Parameter" CustomerID="Creo-1234"
CustomerJobName="A Test Job" DescriptiveName="A test job"
ID="r070719_12414458_000428" PartUsage="Implicit" Status="Available">
<Contact ContactTypes="Technical">
<Address City="Hertzliya" Country="Israel" CountryCode="IL"
PostalCode="69345" Street="1340 Maskit street"/>
<Company OrganizationName="Creo Inc."/>
<Person FamilyName="Draft" FirstName="Thomas" NamePrefix="Mr."/>
<ComChannel ChannelType="Email" Locator=""/>
<ComChannel ChannelType="Phone" Locator="+972-9-678-8900"/>
</Contact>
</CustomerInfo>
<NodeInfo AgentName="CIP4 JDF Writer Java" AgentVersion="1.3 BLD 40"
Class="Parameter" ID="r070719_12414459_000429" PartUsage="Implicit"
Status="Available" TargetRoute="file:///d:/OutJDFFiles/"/>
</ResourcePool>
<AuditPool>
<Modified Author="FixJDF Web Service Build: CIP4 JDF Writer Java 1.3
BLD 40" DescriptiveName="update to version 1.3"
ID="a070719_12414464_000432" TimeStamp="2007-07-19T12:41:44+02:00"/>
</AuditPool>
</JDF>
--
Posted via
http://www.ruby-forum.com/.